LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::object::ELFObjectFile< ELFT > Class Template Reference

#include <ELFObjectFile.h>

Inheritance diagram for llvm::object::ELFObjectFile< ELFT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::object::ELFObjectFile< ELFT >:
Collaboration graph
[legend]

Public Types

typedef ELFFile< ELFT >::uintX_t uintX_t
 
typedef ELFFile< ELFT >::Elf_Sym Elf_Sym
 
typedef ELFFile< ELFT >::Elf_Shdr Elf_Shdr
 
typedef ELFFile< ELFT >::Elf_Rel Elf_Rel
 
typedef ELFFile< ELFT >::Elf_Rela Elf_Rela
 
typedef ELFFile< ELFT >::Elf_Dyn Elf_Dyn
 
typedef ELFFile< ELFT >
::Elf_Sym_Iter 
Elf_Sym_Iter
 
typedef ELFFile< ELFT >
::Elf_Shdr_Iter 
Elf_Shdr_Iter
 
typedef ELFFile< ELFT >
::Elf_Dyn_Iter 
Elf_Dyn_Iter
 

Public Member Functions

 ELFObjectFile (MemoryBuffer *Object, error_code &ec)
 
const Elf_SymgetSymbol (DataRefImpl Symb) const
 
virtual symbol_iterator begin_symbols () const
 
virtual symbol_iterator end_symbols () const
 
virtual symbol_iterator begin_dynamic_symbols () const
 
virtual symbol_iterator end_dynamic_symbols () const
 
virtual section_iterator begin_sections () const
 
virtual section_iterator end_sections () const
 
virtual library_iterator begin_libraries_needed () const
 
virtual library_iterator end_libraries_needed () const
 
error_code getRelocationAddend (DataRefImpl Rel, int64_t &Res) const
 
error_code getSymbolVersion (SymbolRef Symb, StringRef &Version, bool &IsDefault) const
 
virtual uint8_t getBytesInAddress () const
 The number of bytes used to represent an address in this object file format. More...
 
virtual StringRef getFileFormatName () const
 
virtual StringRef getObjectType () const
 
virtual unsigned getArch () const
 
virtual StringRef getLoadName () const
 
const ELFFile< ELFT > * getELFFile () const
 
bool isDyldType () const
 
- Public Member Functions inherited from llvm::object::Binary
virtual ~Binary ()
 
StringRef getData () const
 
StringRef getFileName () const
 
unsigned int getType () const
 
bool isObject () const
 
bool isArchive () const
 
bool isMachOUniversalBinary () const
 
bool isELF () const
 
bool isMachO () const
 
bool isCOFF () const
 
bool isLittleEndian () const
 

Static Public Member Functions

static bool classof (const Binary *v)
 
- Static Public Member Functions inherited from llvm::object::ObjectFile
static ObjectFilecreateObjectFile (StringRef ObjectPath)
 Create ObjectFile from path. More...
 
static ObjectFilecreateObjectFile (MemoryBuffer *Object)
 
static bool classof (const Binary *v)
 
static ObjectFilecreateCOFFObjectFile (MemoryBuffer *Object)
 
static ObjectFilecreateELFObjectFile (MemoryBuffer *Object)
 
static ObjectFilecreateMachOObjectFile (MemoryBuffer *Object)
 

Protected Member Functions

virtual error_code getSymbolNext (DataRefImpl Symb, SymbolRef &Res) const
 
virtual error_code getSymbolName (DataRefImpl Symb, StringRef &Res) const
 
virtual error_code getSymbolFileOffset (DataRefImpl Symb, uint64_t &Res) const
 
virtual error_code getSymbolAddress (DataRefImpl Symb, uint64_t &Res) const
 
virtual error_code getSymbolAlignment (DataRefImpl Symb, uint32_t &Res) const
 
virtual error_code getSymbolSize (DataRefImpl Symb, uint64_t &Res) const
 
virtual error_code getSymbolFlags (DataRefImpl Symb, uint32_t &Res) const
 
virtual error_code getSymbolType (DataRefImpl Symb, SymbolRef::Type &Res) const
 
virtual error_code getSymbolSection (DataRefImpl Symb, section_iterator &Res) const
 
virtual error_code getSymbolValue (DataRefImpl Symb, uint64_t &Val) const
 
virtual error_code getLibraryNext (DataRefImpl Data, LibraryRef &Result) const
 
virtual error_code getLibraryPath (DataRefImpl Data, StringRef &Res) const
 
virtual error_code getSectionNext (DataRefImpl Sec, SectionRef &Res) const
 
virtual error_code getSectionName (DataRefImpl Sec, StringRef &Res) const
 
virtual error_code getSectionAddress (DataRefImpl Sec, uint64_t &Res) const
 
virtual error_code getSectionSize (DataRefImpl Sec, uint64_t &Res) const
 
virtual error_code getSectionContents (DataRefImpl Sec, StringRef &Res) const
 
virtual error_code getSectionAlignment (DataRefImpl Sec, uint64_t &Res) const
 
virtual error_code isSectionText (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionData (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionBSS (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionRequiredForExecution (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionVirtual (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionZeroInit (DataRefImpl Sec, bool &Res) const
 
virtual error_code isSectionReadOnlyData (DataRefImpl Sec, bool &Res) const
 
virtual error_code sectionContainsSymbol (DataRefImpl Sec, DataRefImpl Symb, bool &Result) const
 
virtual relocation_iterator section_rel_begin (DataRefImpl Sec) const
 
virtual relocation_iterator section_rel_end (DataRefImpl Sec) const
 
virtual section_iterator getRelocatedSection (DataRefImpl Sec) const
 
virtual error_code getRelocationNext (DataRefImpl Rel, RelocationRef &Res) const
 
virtual error_code getRelocationAddress (DataRefImpl Rel, uint64_t &Res) const
 
virtual error_code getRelocationOffset (DataRefImpl Rel, uint64_t &Res) const
 
virtual symbol_iterator getRelocationSymbol (DataRefImpl Rel) const
 
virtual error_code getRelocationType (DataRefImpl Rel, uint64_t &Res) const
 
virtual error_code getRelocationTypeName (DataRefImpl Rel, SmallVectorImpl< char > &Result) const
 
virtual error_code getRelocationValueString (DataRefImpl Rel, SmallVectorImpl< char > &Result) const
 
uint64_t getROffset (DataRefImpl Rel) const
 
StringRef getRelocationTypeName (uint32_t Type) const
 
const Elf_ShdrgetRelSection (DataRefImpl Rel) const
 Get the relocation section that contains Rel. More...
 
const Elf_RelgetRel (DataRefImpl Rel) const
 
const Elf_RelagetRela (DataRefImpl Rela) const
 
Elf_Sym_Iter toELFSymIter (DataRefImpl Symb) const
 
DataRefImpl toDRI (Elf_Sym_Iter Symb) const
 
Elf_Shdr_Iter toELFShdrIter (DataRefImpl Sec) const
 
DataRefImpl toDRI (Elf_Shdr_Iter Sec) const
 
DataRefImpl toDRI (const Elf_Shdr *Sec) const
 
Elf_Dyn_Iter toELFDynIter (DataRefImpl Dyn) const
 
DataRefImpl toDRI (Elf_Dyn_Iter Dyn) const
 
- Protected Member Functions inherited from llvm::object::ObjectFile
 ObjectFile (unsigned int Type, MemoryBuffer *source)
 
const uint8_t * base () const
 
virtual error_code getRelocationHidden (DataRefImpl Rel, bool &Result) const
 
- Protected Member Functions inherited from llvm::object::Binary
 Binary (unsigned int Type, MemoryBuffer *Source)
 

Protected Attributes

ELFFile< ELFT > EF
 
bool isDyldELFObject
 
- Protected Attributes inherited from llvm::object::Binary
MemoryBufferData
 

Additional Inherited Members

- Protected Types inherited from llvm::object::Binary
enum  {
  ID_Archive, ID_MachOUniversalBinary, ID_StartObjects, ID_COFF,
  ID_ELF32L, ID_ELF32B, ID_ELF64L, ID_ELF64B,
  ID_MachO32L, ID_MachO32B, ID_MachO64L, ID_MachO64B,
  ID_EndObjects
}
 
- Static Protected Member Functions inherited from llvm::object::Binary
static unsigned int getELFType (bool isLE, bool is64Bits)
 
static unsigned int getMachOType (bool isLE, bool is64Bits)
 

Detailed Description

template<class ELFT>
class llvm::object::ELFObjectFile< ELFT >

Definition at line 39 of file ELFObjectFile.h.

Member Typedef Documentation

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Dyn llvm::object::ELFObjectFile< ELFT >::Elf_Dyn

Definition at line 49 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Dyn_Iter llvm::object::ELFObjectFile< ELFT >::Elf_Dyn_Iter

Definition at line 53 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Rel llvm::object::ELFObjectFile< ELFT >::Elf_Rel

Definition at line 47 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Rela llvm::object::ELFObjectFile< ELFT >::Elf_Rela

Definition at line 48 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Shdr llvm::object::ELFObjectFile< ELFT >::Elf_Shdr

Definition at line 46 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Shdr_Iter llvm::object::ELFObjectFile< ELFT >::Elf_Shdr_Iter

Definition at line 52 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Sym llvm::object::ELFObjectFile< ELFT >::Elf_Sym

Definition at line 45 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::Elf_Sym_Iter llvm::object::ELFObjectFile< ELFT >::Elf_Sym_Iter

Definition at line 51 of file ELFObjectFile.h.

template<class ELFT>
typedef ELFFile<ELFT>::uintX_t llvm::object::ELFObjectFile< ELFT >::uintX_t

Definition at line 43 of file ELFObjectFile.h.

Constructor & Destructor Documentation

template<class ELFT >
llvm::object::ELFObjectFile< ELFT >::ELFObjectFile ( MemoryBuffer Object,
error_code ec 
)

Definition at line 815 of file ELFObjectFile.h.

Member Function Documentation

template<class ELFT >
symbol_iterator llvm::object::ELFObjectFile< ELFT >::begin_dynamic_symbols ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 833 of file ELFObjectFile.h.

template<class ELFT >
library_iterator llvm::object::ELFObjectFile< ELFT >::begin_libraries_needed ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 866 of file ELFObjectFile.h.

References llvm::X86II::DE, and llvm::ELF::DT_SONAME.

template<class ELFT >
section_iterator llvm::object::ELFObjectFile< ELFT >::begin_sections ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 843 of file ELFObjectFile.h.

template<class ELFT >
symbol_iterator llvm::object::ELFObjectFile< ELFT >::begin_symbols ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 823 of file ELFObjectFile.h.

template<class ELFT>
static bool llvm::object::ELFObjectFile< ELFT >::classof ( const Binary v)
inlinestatic
template<class ELFT >
symbol_iterator llvm::object::ELFObjectFile< ELFT >::end_dynamic_symbols ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 838 of file ELFObjectFile.h.

template<class ELFT >
library_iterator llvm::object::ELFObjectFile< ELFT >::end_libraries_needed ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 899 of file ELFObjectFile.h.

template<class ELFT >
section_iterator llvm::object::ELFObjectFile< ELFT >::end_sections ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 848 of file ELFObjectFile.h.

template<class ELFT >
symbol_iterator llvm::object::ELFObjectFile< ELFT >::end_symbols ( ) const
virtual

Implements llvm::object::ObjectFile.

Definition at line 828 of file ELFObjectFile.h.

template<class ELFT >
unsigned llvm::object::ELFObjectFile< ELFT >::getArch ( ) const
virtual
template<class ELFT >
uint8_t llvm::object::ELFObjectFile< ELFT >::getBytesInAddress ( ) const
virtual

The number of bytes used to represent an address in this object file format.

Implements llvm::object::ObjectFile.

Definition at line 904 of file ELFObjectFile.h.

template<class ELFT>
const ELFFile<ELFT>* llvm::object::ELFObjectFile< ELFT >::getELFFile ( ) const
inline

Definition at line 194 of file ELFObjectFile.h.

References llvm::object::ELFObjectFile< ELFT >::EF.

template<class ELFT >
StringRef llvm::object::ELFObjectFile< ELFT >::getFileFormatName ( ) const
virtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getLibraryNext ( DataRefImpl  Data,
LibraryRef Result 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getLibraryPath ( DataRefImpl  Data,
StringRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 892 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
StringRef llvm::object::ELFObjectFile< ELFT >::getLoadName ( ) const
virtual

For shared objects, returns the name which this object should be loaded from at runtime. This corresponds to DT_SONAME on ELF and LC_ID_DYLIB (install name) on MachO.

Implements llvm::object::ObjectFile.

Definition at line 853 of file ELFObjectFile.h.

References llvm::X86II::DE, and llvm::ELF::DT_SONAME.

template<class ELFT>
virtual StringRef llvm::object::ELFObjectFile< ELFT >::getObjectType ( ) const
inlinevirtual

Definition at line 190 of file ELFObjectFile.h.

template<class ELFT >
const ELFObjectFile< ELFT >::Elf_Rel * llvm::object::ELFObjectFile< ELFT >::getRel ( DataRefImpl  Rel) const
protected
template<class ELFT >
const ELFObjectFile< ELFT >::Elf_Rela * llvm::object::ELFObjectFile< ELFT >::getRela ( DataRefImpl  Rela) const
protected
template<class ELFT >
section_iterator llvm::object::ELFObjectFile< ELFT >::getRelocatedSection ( DataRefImpl  Sec) const
protectedvirtual

Reimplemented from llvm::object::ObjectFile.

Definition at line 567 of file ELFObjectFile.h.

References llvm::ELF::ET_REL.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationAddend ( DataRefImpl  Rel,
int64_t &  Res 
) const
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationAddress ( DataRefImpl  Rel,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 627 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationNext ( DataRefImpl  Rel,
RelocationRef Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationOffset ( DataRefImpl  Rel,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 634 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
symbol_iterator llvm::object::ELFObjectFile< ELFT >::getRelocationSymbol ( DataRefImpl  Rel) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 591 of file ELFObjectFile.h.

References llvm::report_fatal_error().

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationType ( DataRefImpl  Rel,
uint64_t &  Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationTypeName ( DataRefImpl  Rel,
SmallVectorImpl< char > &  Result 
) const
protectedvirtual
template<class ELFT >
StringRef llvm::object::ELFObjectFile< ELFT >::getRelocationTypeName ( uint32_t  Type) const
protected

Definition at line 673 of file ELFObjectFile.h.

References llvm::object::getELFRelocationTypeName(), and Type.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getRelocationValueString ( DataRefImpl  Rel,
SmallVectorImpl< char > &  Result 
) const
protectedvirtual
template<class ELFT>
const Elf_Shdr* llvm::object::ELFObjectFile< ELFT >::getRelSection ( DataRefImpl  Rel) const
inlineprotected

Get the relocation section that contains Rel.

Definition at line 110 of file ELFObjectFile.h.

template<class ELFT >
uint64_t llvm::object::ELFObjectFile< ELFT >::getROffset ( DataRefImpl  Rel) const
protected

Definition at line 641 of file ELFObjectFile.h.

References llvm::report_fatal_error().

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionAddress ( DataRefImpl  Sec,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 444 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionAlignment ( DataRefImpl  Sec,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 466 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionContents ( DataRefImpl  Sec,
StringRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 458 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionName ( DataRefImpl  Sec,
StringRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 434 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionNext ( DataRefImpl  Sec,
SectionRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 427 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSectionSize ( DataRefImpl  Sec,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 451 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
const ELFFile< ELFT >::Elf_Sym * llvm::object::ELFObjectFile< ELFT >::getSymbol ( DataRefImpl  Symb) const

Definition at line 798 of file ELFObjectFile.h.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolAddress ( DataRefImpl  Symb,
uint64_t &  Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolAlignment ( DataRefImpl  Symb,
uint32_t &  Res 
) const
protectedvirtual

Reimplemented from llvm::object::ObjectFile.

Definition at line 323 of file ELFObjectFile.h.

References llvm::ELF::SHN_COMMON, and llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolFileOffset ( DataRefImpl  Symb,
uint64_t &  Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolFlags ( DataRefImpl  Symb,
uint32_t &  Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolName ( DataRefImpl  Symb,
StringRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 218 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolNext ( DataRefImpl  Symb,
SymbolRef Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 211 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolSection ( DataRefImpl  Symb,
section_iterator Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolSize ( DataRefImpl  Symb,
uint64_t &  Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 334 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolType ( DataRefImpl  Symb,
SymbolRef::Type Res 
) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolValue ( DataRefImpl  Symb,
uint64_t &  Val 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 419 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::getSymbolVersion ( SymbolRef  Symb,
StringRef Version,
bool IsDefault 
) const
template<class ELFT>
bool llvm::object::ELFObjectFile< ELFT >::isDyldType ( ) const
inline
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionBSS ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 489 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionData ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 480 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionReadOnlyData ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 520 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionRequiredForExecution ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 499 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionText ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 473 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionVirtual ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 506 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::isSectionZeroInit ( DataRefImpl  Sec,
bool Res 
) const
protectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 513 of file ELFObjectFile.h.

References llvm::object::object_error::success.

template<class ELFT >
relocation_iterator llvm::object::ELFObjectFile< ELFT >::section_rel_begin ( DataRefImpl  Sec) const
protectedvirtual
template<class ELFT >
relocation_iterator llvm::object::ELFObjectFile< ELFT >::section_rel_end ( DataRefImpl  Sec) const
protectedvirtual
template<class ELFT >
error_code llvm::object::ELFObjectFile< ELFT >::sectionContainsSymbol ( DataRefImpl  Sec,
DataRefImpl  Symb,
bool Result 
) const
protectedvirtual
template<class ELFT>
DataRefImpl llvm::object::ELFObjectFile< ELFT >::toDRI ( Elf_Sym_Iter  Symb) const
inlineprotected
template<class ELFT>
DataRefImpl llvm::object::ELFObjectFile< ELFT >::toDRI ( Elf_Shdr_Iter  Sec) const
inlineprotected
template<class ELFT>
DataRefImpl llvm::object::ELFObjectFile< ELFT >::toDRI ( const Elf_Shdr Sec) const
inlineprotected

Definition at line 145 of file ELFObjectFile.h.

References llvm::object::DataRefImpl::p.

template<class ELFT>
DataRefImpl llvm::object::ELFObjectFile< ELFT >::toDRI ( Elf_Dyn_Iter  Dyn) const
inlineprotected
template<class ELFT>
Elf_Dyn_Iter llvm::object::ELFObjectFile< ELFT >::toELFDynIter ( DataRefImpl  Dyn) const
inlineprotected
template<class ELFT>
Elf_Shdr_Iter llvm::object::ELFObjectFile< ELFT >::toELFShdrIter ( DataRefImpl  Sec) const
inlineprotected
template<class ELFT>
Elf_Sym_Iter llvm::object::ELFObjectFile< ELFT >::toELFSymIter ( DataRefImpl  Symb) const
inlineprotected

Member Data Documentation

template<class ELFT>
ELFFile<ELFT> llvm::object::ELFObjectFile< ELFT >::EF
protected
template<class ELFT>
bool llvm::object::ELFObjectFile< ELFT >::isDyldELFObject
protected

Definition at line 165 of file ELFObjectFile.h.

Referenced by llvm::object::ELFObjectFile< ELFT >::isDyldType().


The documentation for this class was generated from the following file: