LLVM  3.7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
llvm::object::COFFObjectFile Class Reference

#include <COFF.h>

Inheritance diagram for llvm::object::COFFObjectFile:
[legend]
Collaboration diagram for llvm::object::COFFObjectFile:
[legend]

Public Member Functions

uintptr_t getSymbolTable () const
 
uint16_t getMachine () const
 
uint16_t getSizeOfOptionalHeader () const
 
uint16_t getCharacteristics () const
 
uint32_t getTimeDateStamp () const
 
uint32_t getNumberOfSections () const
 
uint32_t getPointerToSymbolTable () const
 
uint32_t getNumberOfSymbols () const
 
 COFFObjectFile (MemoryBufferRef Object, std::error_code &EC)
 
basic_symbol_iterator symbol_begin_impl () const override
 
basic_symbol_iterator symbol_end_impl () const override
 
section_iterator section_begin () const override
 
section_iterator section_end () const override
 
const coff_sectiongetCOFFSection (const SectionRef &Section) const
 
COFFSymbolRef getCOFFSymbol (const DataRefImpl &Ref) const
 
COFFSymbolRef getCOFFSymbol (const SymbolRef &Symbol) const
 
const coff_relocationgetCOFFRelocation (const RelocationRef &Reloc) const
 
unsigned getSectionID (SectionRef Sec) const
 
unsigned getSymbolSectionID (SymbolRef Sym) const
 
uint8_t getBytesInAddress () const override
 The number of bytes used to represent an address in this object file format. More...
 
StringRef getFileFormatName () const override
 
unsigned getArch () const override
 
import_directory_iterator import_directory_begin () const
 
import_directory_iterator import_directory_end () const
 
delay_import_directory_iterator delay_import_directory_begin () const
 
delay_import_directory_iterator delay_import_directory_end () const
 
export_directory_iterator export_directory_begin () const
 
export_directory_iterator export_directory_end () const
 
base_reloc_iterator base_reloc_begin () const
 
base_reloc_iterator base_reloc_end () const
 
iterator_range
< import_directory_iterator
import_directories () const
 
iterator_range
< delay_import_directory_iterator
delay_import_directories () const
 
iterator_range
< export_directory_iterator
export_directories () const
 
iterator_range
< base_reloc_iterator
base_relocs () const
 
const dos_headergetDOSHeader () const
 
std::error_code getPE32Header (const pe32_header *&Res) const
 
std::error_code getPE32PlusHeader (const pe32plus_header *&Res) const
 
std::error_code getDataDirectory (uint32_t index, const data_directory *&Res) const
 
std::error_code getSection (int32_t index, const coff_section *&Res) const
 
template<typename coff_symbol_type >
std::error_code getSymbol (uint32_t Index, const coff_symbol_type *&Res) const
 
ErrorOr< COFFSymbolRefgetSymbol (uint32_t index) const
 
template<typename T >
std::error_code getAuxSymbol (uint32_t index, const T *&Res) const
 
std::error_code getSymbolName (COFFSymbolRef Symbol, StringRef &Res) const
 
std::error_code getSymbolName (const coff_symbol_generic *Symbol, StringRef &Res) const
 
ArrayRef< uint8_t > getSymbolAuxData (COFFSymbolRef Symbol) const
 
size_t getSymbolTableEntrySize () const
 
iterator_range< const
coff_relocation * > 
getRelocations (const coff_section *Sec) const
 
std::error_code getSectionName (const coff_section *Sec, StringRef &Res) const
 
uint64_t getSectionSize (const coff_section *Sec) const
 
std::error_code getSectionContents (const coff_section *Sec, ArrayRef< uint8_t > &Res) const
 
std::error_code getVaPtr (uint64_t VA, uintptr_t &Res) const
 
std::error_code getRvaPtr (uint32_t Rva, uintptr_t &Res) const
 
std::error_code getHintName (uint32_t Rva, uint16_t &Hint, StringRef &Name) const
 
bool isRelocatableObject () const override
 True if this is a relocatable object (.o/.obj). More...
 
bool is64 () const
 
template<typename coff_symbol_type >
const coff_symbol_type * toSymb (DataRefImpl Ref) const
 
- Public Member Functions inherited from llvm::object::ObjectFile
uint64_t getCommonSymbolSize (DataRefImpl Symb) const
 
symbol_iterator_range symbols () const
 
section_iterator_range sections () const
 
virtual std::error_code getPlatformFlags (unsigned &Result) const
 Returns platform-specific object flags, if any. More...
 
- Public Member Functions inherited from llvm::object::SymbolicFile
 ~SymbolicFile () override
 
 SymbolicFile (unsigned int Type, MemoryBufferRef Source)
 
basic_symbol_iterator symbol_begin () const
 
basic_symbol_iterator symbol_end () const
 
basic_symbol_iterator_range symbols () const
 
- Public Member Functions inherited from llvm::object::Binary
virtual ~Binary ()
 
StringRef getData () const
 
StringRef getFileName () const
 
MemoryBufferRef getMemoryBufferRef () const
 
unsigned int getType () const
 
bool isObject () const
 
bool isSymbolic () const
 
bool isArchive () const
 
bool isMachOUniversalBinary () const
 
bool isELF () const
 
bool isMachO () const
 
bool isCOFF () const
 
bool isIR () const
 
bool isLittleEndian () const
 

Static Public Member Functions

static bool classof (const Binary *v)
 
- Static Public Member Functions inherited from llvm::object::ObjectFile
static ErrorOr< OwningBinary
< ObjectFile > > 
createObjectFile (StringRef ObjectPath)
 Create ObjectFile from path. More...
 
static ErrorOr
< std::unique_ptr< ObjectFile > > 
createObjectFile (MemoryBufferRef Object, sys::fs::file_magic Type)
 
static ErrorOr
< std::unique_ptr< ObjectFile > > 
createObjectFile (MemoryBufferRef Object)
 
static bool classof (const Binary *v)
 
static ErrorOr
< std::unique_ptr
< COFFObjectFile > > 
createCOFFObjectFile (MemoryBufferRef Object)
 
static ErrorOr
< std::unique_ptr< ObjectFile > > 
createELFObjectFile (MemoryBufferRef Object)
 
static ErrorOr
< std::unique_ptr
< MachOObjectFile > > 
createMachOObjectFile (MemoryBufferRef Object)
 
- Static Public Member Functions inherited from llvm::object::SymbolicFile
static ErrorOr
< std::unique_ptr
< SymbolicFile > > 
createSymbolicFile (MemoryBufferRef Object, sys::fs::file_magic Type, LLVMContext *Context)
 
static ErrorOr
< std::unique_ptr
< SymbolicFile > > 
createSymbolicFile (MemoryBufferRef Object)
 
static ErrorOr< OwningBinary
< SymbolicFile > > 
createSymbolicFile (StringRef ObjectPath)
 
static bool classof (const Binary *v)
 

Protected Member Functions

void moveSymbolNext (DataRefImpl &Symb) const override
 
ErrorOr< StringRefgetSymbolName (DataRefImpl Symb) const override
 
ErrorOr< uint64_t > getSymbolAddress (DataRefImpl Symb) const override
 
uint64_t getSymbolValueImpl (DataRefImpl Symb) const override
 
uint64_t getCommonSymbolSizeImpl (DataRefImpl Symb) const override
 
uint32_t getSymbolFlags (DataRefImpl Symb) const override
 
SymbolRef::Type getSymbolType (DataRefImpl Symb) const override
 
std::error_code getSymbolSection (DataRefImpl Symb, section_iterator &Res) const override
 
void moveSectionNext (DataRefImpl &Sec) const override
 
std::error_code getSectionName (DataRefImpl Sec, StringRef &Res) const override
 
uint64_t getSectionAddress (DataRefImpl Sec) const override
 
uint64_t getSectionSize (DataRefImpl Sec) const override
 
std::error_code getSectionContents (DataRefImpl Sec, StringRef &Res) const override
 
uint64_t getSectionAlignment (DataRefImpl Sec) const override
 
bool isSectionText (DataRefImpl Sec) const override
 
bool isSectionData (DataRefImpl Sec) const override
 
bool isSectionBSS (DataRefImpl Sec) const override
 
bool isSectionVirtual (DataRefImpl Sec) const override
 
relocation_iterator section_rel_begin (DataRefImpl Sec) const override
 
relocation_iterator section_rel_end (DataRefImpl Sec) const override
 
void moveRelocationNext (DataRefImpl &Rel) const override
 
uint64_t getRelocationOffset (DataRefImpl Rel) const override
 
symbol_iterator getRelocationSymbol (DataRefImpl Rel) const override
 
uint64_t getRelocationType (DataRefImpl Rel) const override
 
void getRelocationTypeName (DataRefImpl Rel, SmallVectorImpl< char > &Result) const override
 
- Protected Member Functions inherited from llvm::object::ObjectFile
 ObjectFile (unsigned int Type, MemoryBufferRef Source)
 
const uint8_t * base () const
 
std::error_code printSymbolName (raw_ostream &OS, DataRefImpl Symb) const override
 
virtual uint32_t getSymbolAlignment (DataRefImpl Symb) const
 
virtual section_iterator getRelocatedSection (DataRefImpl Sec) const
 
uint64_t getSymbolValue (DataRefImpl Symb) const
 
- Protected Member Functions inherited from llvm::object::Binary
 Binary (unsigned int Type, MemoryBufferRef Source)
 

Friends

class ImportDirectoryEntryRef
 
class ExportDirectoryEntryRef
 

Additional Inherited Members

- Public Types inherited from llvm::object::ObjectFile
typedef iterator_range
< symbol_iterator
symbol_iterator_range
 
typedef iterator_range
< section_iterator
section_iterator_range
 
- Public Types inherited from llvm::object::SymbolicFile
typedef iterator_range
< basic_symbol_iterator
basic_symbol_iterator_range
 
- Protected Types inherited from llvm::object::Binary
enum  {
  ID_Archive, ID_MachOUniversalBinary, ID_IR, 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)
 
- Protected Attributes inherited from llvm::object::Binary
MemoryBufferRef Data
 

Detailed Description

Definition at line 551 of file Object/COFF.h.

Constructor & Destructor Documentation

COFFObjectFile::COFFObjectFile ( MemoryBufferRef  Object,
std::error_code &  EC 
)

Member Function Documentation

base_reloc_iterator COFFObjectFile::base_reloc_begin ( ) const

Definition at line 727 of file COFFObjectFile.cpp.

Referenced by base_relocs().

base_reloc_iterator COFFObjectFile::base_reloc_end ( ) const

Definition at line 731 of file COFFObjectFile.cpp.

Referenced by base_relocs().

iterator_range< base_reloc_iterator > COFFObjectFile::base_relocs ( ) const

Definition at line 781 of file COFFObjectFile.cpp.

References base_reloc_begin(), base_reloc_end(), and llvm::make_range().

static bool llvm::object::COFFObjectFile::classof ( const Binary v)
inlinestatic

Definition at line 785 of file Object/COFF.h.

References llvm::object::Binary::isCOFF().

iterator_range< delay_import_directory_iterator > COFFObjectFile::delay_import_directories ( ) const
delay_import_directory_iterator COFFObjectFile::delay_import_directory_begin ( ) const

Definition at line 688 of file COFFObjectFile.cpp.

Referenced by delay_import_directories().

delay_import_directory_iterator COFFObjectFile::delay_import_directory_end ( ) const

Definition at line 694 of file COFFObjectFile.cpp.

Referenced by delay_import_directories().

iterator_range< export_directory_iterator > COFFObjectFile::export_directories ( ) const
export_directory_iterator COFFObjectFile::export_directory_begin ( ) const

Definition at line 700 of file COFFObjectFile.cpp.

References ExportDirectoryEntryRef.

Referenced by export_directories().

export_directory_iterator COFFObjectFile::export_directory_end ( ) const
unsigned COFFObjectFile::getArch ( ) const
overridevirtual
template<typename T >
std::error_code llvm::object::COFFObjectFile::getAuxSymbol ( uint32_t  index,
const T *&  Res 
) const
inline

Definition at line 748 of file Object/COFF.h.

References llvm::ErrorOr< T >::getError(), and getSymbol().

uint8_t COFFObjectFile::getBytesInAddress ( ) const
overridevirtual

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

Implements llvm::object::ObjectFile.

Definition at line 735 of file COFFObjectFile.cpp.

References getArch(), and llvm::Triple::x86_64.

uint16_t llvm::object::COFFObjectFile::getCharacteristics ( ) const
inline
const coff_relocation * COFFObjectFile::getCOFFRelocation ( const RelocationRef Reloc) const
const coff_section * COFFObjectFile::getCOFFSection ( const SectionRef Section) const

Definition at line 981 of file COFFObjectFile.cpp.

References llvm::object::SectionRef::getRawDataRefImpl().

Referenced by getRvaPtr().

COFFSymbolRef llvm::object::COFFObjectFile::getCOFFSymbol ( const DataRefImpl Ref) const
COFFSymbolRef llvm::object::COFFObjectFile::getCOFFSymbol ( const SymbolRef Symbol) const
uint64_t COFFObjectFile::getCommonSymbolSizeImpl ( DataRefImpl  Symb) const
overrideprotectedvirtual
std::error_code COFFObjectFile::getDataDirectory ( uint32_t  index,
const data_directory *&  Res 
) const
const dos_header* llvm::object::COFFObjectFile::getDOSHeader ( ) const
inline

Definition at line 713 of file Object/COFF.h.

References llvm::object::ObjectFile::base().

StringRef COFFObjectFile::getFileFormatName ( ) const
overridevirtual
std::error_code COFFObjectFile::getHintName ( uint32_t  Rva,
uint16_t &  Hint,
StringRef Name 
) const

Definition at line 441 of file COFFObjectFile.cpp.

References getRvaPtr().

uint16_t llvm::object::COFFObjectFile::getMachine ( ) const
inline
uint32_t llvm::object::COFFObjectFile::getNumberOfSections ( ) const
inline
uint32_t llvm::object::COFFObjectFile::getNumberOfSymbols ( ) const
inline
std::error_code COFFObjectFile::getPE32Header ( const pe32_header *&  Res) const

Definition at line 785 of file COFFObjectFile.cpp.

Referenced by llvm::PDBContext::PDBContext().

std::error_code COFFObjectFile::getPE32PlusHeader ( const pe32plus_header *&  Res) const

Definition at line 791 of file COFFObjectFile.cpp.

Referenced by llvm::PDBContext::PDBContext().

uint32_t llvm::object::COFFObjectFile::getPointerToSymbolTable ( ) const
inline
uint64_t COFFObjectFile::getRelocationOffset ( DataRefImpl  Rel) const
overrideprotectedvirtual
iterator_range< const coff_relocation * > COFFObjectFile::getRelocations ( const coff_section Sec) const
symbol_iterator COFFObjectFile::getRelocationSymbol ( DataRefImpl  Rel) const
overrideprotectedvirtual
uint64_t COFFObjectFile::getRelocationType ( DataRefImpl  Rel) const
overrideprotectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 975 of file COFFObjectFile.cpp.

References llvm::object::coff_relocation::Type.

void COFFObjectFile::getRelocationTypeName ( DataRefImpl  Rel,
SmallVectorImpl< char > &  Result 
) const
overrideprotectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 1016 of file COFFObjectFile.cpp.

References llvm::SmallVectorImpl< T >::append(), llvm::StringRef::begin(), llvm::StringRef::end(), getMachine(), llvm::COFF::IMAGE_FILE_MACHINE_AMD64, llvm::COFF::IMAGE_FILE_MACHINE_ARMNT, llvm::COFF::IMAGE_FILE_MACHINE_I386, llvm::COFF::IMAGE_REL_AMD64_ABSOLUTE, llvm::COFF::IMAGE_REL_AMD64_ADDR32, llvm::COFF::IMAGE_REL_AMD64_ADDR32NB, llvm::COFF::IMAGE_REL_AMD64_ADDR64, llvm::COFF::IMAGE_REL_AMD64_PAIR, llvm::COFF::IMAGE_REL_AMD64_REL32, llvm::COFF::IMAGE_REL_AMD64_REL32_1, llvm::COFF::IMAGE_REL_AMD64_REL32_2, llvm::COFF::IMAGE_REL_AMD64_REL32_3, llvm::COFF::IMAGE_REL_AMD64_REL32_4, llvm::COFF::IMAGE_REL_AMD64_REL32_5, llvm::COFF::IMAGE_REL_AMD64_SECREL, llvm::COFF::IMAGE_REL_AMD64_SECREL7, llvm::COFF::IMAGE_REL_AMD64_SECTION, llvm::COFF::IMAGE_REL_AMD64_SREL32, llvm::COFF::IMAGE_REL_AMD64_SSPAN32, llvm::COFF::IMAGE_REL_AMD64_TOKEN, llvm::COFF::IMAGE_REL_ARM_ABSOLUTE, llvm::COFF::IMAGE_REL_ARM_ADDR32, llvm::COFF::IMAGE_REL_ARM_ADDR32NB, llvm::COFF::IMAGE_REL_ARM_BLX11, llvm::COFF::IMAGE_REL_ARM_BLX23T, llvm::COFF::IMAGE_REL_ARM_BLX24, llvm::COFF::IMAGE_REL_ARM_BRANCH11, llvm::COFF::IMAGE_REL_ARM_BRANCH20T, llvm::COFF::IMAGE_REL_ARM_BRANCH24, llvm::COFF::IMAGE_REL_ARM_BRANCH24T, llvm::COFF::IMAGE_REL_ARM_MOV32A, llvm::COFF::IMAGE_REL_ARM_MOV32T, llvm::COFF::IMAGE_REL_ARM_SECREL, llvm::COFF::IMAGE_REL_ARM_SECTION, llvm::COFF::IMAGE_REL_ARM_TOKEN, llvm::COFF::IMAGE_REL_I386_ABSOLUTE, llvm::COFF::IMAGE_REL_I386_DIR16, llvm::COFF::IMAGE_REL_I386_DIR32, llvm::COFF::IMAGE_REL_I386_DIR32NB, llvm::COFF::IMAGE_REL_I386_REL16, llvm::COFF::IMAGE_REL_I386_REL32, llvm::COFF::IMAGE_REL_I386_SECREL, llvm::COFF::IMAGE_REL_I386_SECREL7, llvm::COFF::IMAGE_REL_I386_SECTION, llvm::COFF::IMAGE_REL_I386_SEG12, llvm::COFF::IMAGE_REL_I386_TOKEN, LLVM_COFF_SWITCH_RELOC_TYPE_NAME, and llvm::object::coff_relocation::Type.

std::error_code COFFObjectFile::getRvaPtr ( uint32_t  Rva,
uintptr_t &  Res 
) const
std::error_code COFFObjectFile::getSection ( int32_t  index,
const coff_section *&  Res 
) const
uint64_t COFFObjectFile::getSectionAddress ( DataRefImpl  Sec) const
overrideprotectedvirtual
uint64_t COFFObjectFile::getSectionAlignment ( DataRefImpl  Sec) const
overrideprotectedvirtual
std::error_code llvm::object::COFFObjectFile::getSectionContents ( DataRefImpl  Sec,
StringRef Res 
) const
overrideprotectedvirtual
std::error_code llvm::object::COFFObjectFile::getSectionContents ( const coff_section Sec,
ArrayRef< uint8_t > &  Res 
) const
unsigned COFFObjectFile::getSectionID ( SectionRef  Sec) const
std::error_code llvm::object::COFFObjectFile::getSectionName ( DataRefImpl  Sec,
StringRef Res 
) const
overrideprotectedvirtual
std::error_code llvm::object::COFFObjectFile::getSectionName ( const coff_section Sec,
StringRef Res 
) const
uint64_t llvm::object::COFFObjectFile::getSectionSize ( DataRefImpl  Sec) const
overrideprotectedvirtual
uint64_t llvm::object::COFFObjectFile::getSectionSize ( const coff_section Sec) const
uint16_t llvm::object::COFFObjectFile::getSizeOfOptionalHeader ( ) const
inline
template<typename coff_symbol_type >
std::error_code llvm::object::COFFObjectFile::getSymbol ( uint32_t  Index,
const coff_symbol_type *&  Res 
) const
inline

Definition at line 724 of file Object/COFF.h.

References getNumberOfSymbols(), getSymbolTable(), and llvm::object::parse_failed.

Referenced by getAuxSymbol(), and getSymbol().

ErrorOr<COFFSymbolRef> llvm::object::COFFObjectFile::getSymbol ( uint32_t  index) const
inline

Definition at line 732 of file Object/COFF.h.

References getSymbol(), and llvm::object::parse_failed.

ErrorOr< uint64_t > COFFObjectFile::getSymbolAddress ( DataRefImpl  Symb) const
overrideprotectedvirtual
ArrayRef< uint8_t > COFFObjectFile::getSymbolAuxData ( COFFSymbolRef  Symbol) const
uint32_t COFFObjectFile::getSymbolFlags ( DataRefImpl  Symb) const
overrideprotectedvirtual
ErrorOr<StringRef> llvm::object::COFFObjectFile::getSymbolName ( DataRefImpl  Symb) const
overrideprotectedvirtual
std::error_code llvm::object::COFFObjectFile::getSymbolName ( COFFSymbolRef  Symbol,
StringRef Res 
) const
std::error_code llvm::object::COFFObjectFile::getSymbolName ( const coff_symbol_generic Symbol,
StringRef Res 
) const
std::error_code COFFObjectFile::getSymbolSection ( DataRefImpl  Symb,
section_iterator Res 
) const
overrideprotectedvirtual
unsigned COFFObjectFile::getSymbolSectionID ( SymbolRef  Sym) const
uintptr_t llvm::object::COFFObjectFile::getSymbolTable ( ) const
inline

Definition at line 587 of file Object/COFF.h.

Referenced by getSymbol(), and symbol_begin_impl().

size_t llvm::object::COFFObjectFile::getSymbolTableEntrySize ( ) const
inline

Definition at line 761 of file Object/COFF.h.

References llvm_unreachable.

Referenced by getSymbolAuxData().

SymbolRef::Type COFFObjectFile::getSymbolType ( DataRefImpl  Symb) const
overrideprotectedvirtual
uint64_t COFFObjectFile::getSymbolValueImpl ( DataRefImpl  Symb) const
overrideprotectedvirtual
uint32_t llvm::object::COFFObjectFile::getTimeDateStamp ( ) const
inline
std::error_code COFFObjectFile::getVaPtr ( uint64_t  VA,
uintptr_t &  Res 
) const
iterator_range< import_directory_iterator > COFFObjectFile::import_directories ( ) const
import_directory_iterator COFFObjectFile::import_directory_begin ( ) const

Definition at line 677 of file COFFObjectFile.cpp.

References ImportDirectoryEntryRef.

Referenced by import_directories().

import_directory_iterator COFFObjectFile::import_directory_end ( ) const

Definition at line 682 of file COFFObjectFile.cpp.

References ImportDirectoryEntryRef.

Referenced by import_directories().

bool llvm::object::COFFObjectFile::is64 ( ) const
inline
bool COFFObjectFile::isRelocatableObject ( ) const
overridevirtual

True if this is a relocatable object (.o/.obj).

Implements llvm::object::ObjectFile.

Definition at line 1090 of file COFFObjectFile.cpp.

bool COFFObjectFile::isSectionBSS ( DataRefImpl  Sec) const
overrideprotectedvirtual
bool COFFObjectFile::isSectionData ( DataRefImpl  Sec) const
overrideprotectedvirtual
bool COFFObjectFile::isSectionText ( DataRefImpl  Sec) const
overrideprotectedvirtual
bool COFFObjectFile::isSectionVirtual ( DataRefImpl  Sec) const
overrideprotectedvirtual
void COFFObjectFile::moveRelocationNext ( DataRefImpl Rel) const
overrideprotectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 951 of file COFFObjectFile.cpp.

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

void COFFObjectFile::moveSectionNext ( DataRefImpl Sec) const
overrideprotectedvirtual

Implements llvm::object::ObjectFile.

Definition at line 255 of file COFFObjectFile.cpp.

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

void COFFObjectFile::moveSymbolNext ( DataRefImpl Symb) const
overrideprotectedvirtual
section_iterator COFFObjectFile::section_begin ( ) const
overridevirtual
section_iterator COFFObjectFile::section_end ( ) const
overridevirtual
relocation_iterator COFFObjectFile::section_rel_begin ( DataRefImpl  Sec) const
overrideprotectedvirtual
relocation_iterator COFFObjectFile::section_rel_end ( DataRefImpl  Sec) const
overrideprotectedvirtual
basic_symbol_iterator COFFObjectFile::symbol_begin_impl ( ) const
overridevirtual
basic_symbol_iterator COFFObjectFile::symbol_end_impl ( ) const
overridevirtual
template<typename coff_symbol_type >
const coff_symbol_type* llvm::object::COFFObjectFile::toSymb ( DataRefImpl  Ref) const

Friends And Related Function Documentation

friend class ExportDirectoryEntryRef
friend

Definition at line 554 of file Object/COFF.h.

Referenced by export_directory_begin(), and export_directory_end().

friend class ImportDirectoryEntryRef
friend

Definition at line 553 of file Object/COFF.h.

Referenced by import_directory_begin(), and import_directory_end().


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