LLVM  8.0.1
Classes | Namespaces | Typedefs | Functions
ELF.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/Object/ELFTypes.h"
#include "llvm/Object/Error.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <utility>
Include dependency graph for ELF.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::object::ELFFile< ELFT >
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::object
 

Typedefs

using llvm::object::ELF32LEFile = ELFFile< ELF32LE >
 
using llvm::object::ELF64LEFile = ELFFile< ELF64LE >
 
using llvm::object::ELF32BEFile = ELFFile< ELF32BE >
 
using llvm::object::ELF64BEFile = ELFFile< ELF64BE >
 

Functions

StringRef llvm::object::getELFRelocationTypeName (uint32_t Machine, uint32_t Type)
 
uint32_t llvm::object::getELFRelativeRelocationType (uint32_t Machine)
 
StringRef llvm::object::getELFSectionTypeName (uint32_t Machine, uint32_t Type)
 
std::pair< unsigned char, unsigned charllvm::object::getElfArchType (StringRef Object)
 
static Error llvm::object::createError (StringRef Err)
 
template<class ELFT >
Expected< const typename ELFT::Shdr * > llvm::object::getSection (typename ELFT::ShdrRange Sections, uint32_t Index)
 
template<class ELFT >
Expected< uint32_tllvm::object::getExtendedSymbolTableIndex (const typename ELFT::Sym *Sym, const typename ELFT::Sym *FirstSym, ArrayRef< typename ELFT::Word > ShndxTable)
 
template<class ELFT >
Expected< const typename ELFT::Sym * > llvm::object::getSymbol (typename ELFT::SymRange Symbols, uint32_t Index)
 
unsigned llvm::object::hashSysV (StringRef SymbolName)
 This function returns the hash value for a symbol in the .dynsym section Name of the API remains consistent as specified in the libelf REF : http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#hash. More...