LLVM: lib/Object/COFFObjectFile.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define LLVM_COFF_SWITCH_RELOC_TYPE_NAME(reloc_type)
#define RETURN_IF_ERROR(Expr)
Functions
static bool checkSize (MemoryBufferRef M, std::error_code &EC, uint64_t Size)
template<typename T>
static Error getObject (const T *&Obj, MemoryBufferRef M, const void *Ptr, const uint64_t Size=sizeof(T))
static bool decodeBase64StringEntry (StringRef Str, uint32_t &Result)
static uint32_t getNumberOfRelocations (const coff_section *Sec, MemoryBufferRef M, const uint8_t *base)
static const coff_relocation * getFirstReloc (const coff_section *Sec, MemoryBufferRef M, const uint8_t *Base)
static Error ignoreStrippedErrors (Error E)
static imported_symbol_iterator makeImportedSymbolIterator (const COFFObjectFile *Object, uintptr_t Ptr, int Index)
static imported_symbol_iterator importedSymbolBegin (uint32_t RVA, const COFFObjectFile *Object)
static imported_symbol_iterator importedSymbolEnd (uint32_t RVA, const COFFObjectFile *Object)

LLVM_COFF_SWITCH_RELOC_TYPE_NAME

#define LLVM_COFF_SWITCH_RELOC_TYPE_NAME ( reloc_type )

RETURN_IF_ERROR

#define RETURN_IF_ERROR ( Expr )

checkSize()

decodeBase64StringEntry()

getFirstReloc()

getNumberOfRelocations()

getObject()

ignoreStrippedErrors()

importedSymbolBegin()

importedSymbolEnd()

makeImportedSymbolIterator()