LLVM  3.7.0
Typedefs | Functions
Object file reading and writing
Collaboration diagram for Object file reading and writing:

Typedefs

typedef struct
LLVMOpaqueObjectFile * 
LLVMObjectFileRef
 
typedef struct
LLVMOpaqueSectionIterator * 
LLVMSectionIteratorRef
 
typedef struct
LLVMOpaqueSymbolIterator * 
LLVMSymbolIteratorRef
 
typedef struct
LLVMOpaqueRelocationIterator * 
LLVMRelocationIteratorRef
 

Functions

LLVMObjectFileRef LLVMCreateObjectFile (LLVMMemoryBufferRef MemBuf)
 
void LLVMDisposeObjectFile (LLVMObjectFileRef ObjectFile)
 
LLVMSectionIteratorRef LLVMGetSections (LLVMObjectFileRef ObjectFile)
 
void LLVMDisposeSectionIterator (LLVMSectionIteratorRef SI)
 
LLVMBool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI)
 
void LLVMMoveToNextSection (LLVMSectionIteratorRef SI)
 
void LLVMMoveToContainingSection (LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym)
 
LLVMSymbolIteratorRef LLVMGetSymbols (LLVMObjectFileRef ObjectFile)
 
void LLVMDisposeSymbolIterator (LLVMSymbolIteratorRef SI)
 
LLVMBool LLVMIsSymbolIteratorAtEnd (LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI)
 
void LLVMMoveToNextSymbol (LLVMSymbolIteratorRef SI)
 
const char * LLVMGetSectionName (LLVMSectionIteratorRef SI)
 
uint64_t LLVMGetSectionSize (LLVMSectionIteratorRef SI)
 
const char * LLVMGetSectionContents (LLVMSectionIteratorRef SI)
 
uint64_t LLVMGetSectionAddress (LLVMSectionIteratorRef SI)
 
LLVMBool LLVMGetSectionContainsSymbol (LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym)
 
LLVMRelocationIteratorRef LLVMGetRelocations (LLVMSectionIteratorRef Section)
 
void LLVMDisposeRelocationIterator (LLVMRelocationIteratorRef RI)
 
LLVMBool LLVMIsRelocationIteratorAtEnd (LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef RI)
 
void LLVMMoveToNextRelocation (LLVMRelocationIteratorRef RI)
 
const char * LLVMGetSymbolName (LLVMSymbolIteratorRef SI)
 
uint64_t LLVMGetSymbolAddress (LLVMSymbolIteratorRef SI)
 
uint64_t LLVMGetSymbolSize (LLVMSymbolIteratorRef SI)
 
uint64_t LLVMGetRelocationOffset (LLVMRelocationIteratorRef RI)
 
LLVMSymbolIteratorRef LLVMGetRelocationSymbol (LLVMRelocationIteratorRef RI)
 
uint64_t LLVMGetRelocationType (LLVMRelocationIteratorRef RI)
 
const char * LLVMGetRelocationTypeName (LLVMRelocationIteratorRef RI)
 
const char * LLVMGetRelocationValueString (LLVMRelocationIteratorRef RI)
 

Detailed Description

Typedef Documentation

typedef struct LLVMOpaqueObjectFile* LLVMObjectFileRef

Definition at line 37 of file Object.h.

typedef struct LLVMOpaqueRelocationIterator* LLVMRelocationIteratorRef

Definition at line 40 of file Object.h.

typedef struct LLVMOpaqueSectionIterator* LLVMSectionIteratorRef

Definition at line 38 of file Object.h.

typedef struct LLVMOpaqueSymbolIterator* LLVMSymbolIteratorRef

Definition at line 39 of file Object.h.

Function Documentation

LLVMObjectFileRef LLVMCreateObjectFile ( LLVMMemoryBufferRef  MemBuf)
void LLVMDisposeObjectFile ( LLVMObjectFileRef  ObjectFile)

Definition at line 74 of file Object.cpp.

References llvm::unwrap().

void LLVMDisposeRelocationIterator ( LLVMRelocationIteratorRef  RI)

Definition at line 160 of file Object.cpp.

References llvm::unwrap().

void LLVMDisposeSectionIterator ( LLVMSectionIteratorRef  SI)

Definition at line 85 of file Object.cpp.

References llvm::unwrap().

void LLVMDisposeSymbolIterator ( LLVMSymbolIteratorRef  SI)

Definition at line 112 of file Object.cpp.

References llvm::unwrap().

uint64_t LLVMGetRelocationOffset ( LLVMRelocationIteratorRef  RI)

Definition at line 194 of file Object.cpp.

References llvm::unwrap().

LLVMRelocationIteratorRef LLVMGetRelocations ( LLVMSectionIteratorRef  Section)

Definition at line 155 of file Object.cpp.

References SI, llvm::unwrap(), and llvm::wrap().

LLVMSymbolIteratorRef LLVMGetRelocationSymbol ( LLVMRelocationIteratorRef  RI)

Definition at line 198 of file Object.cpp.

References llvm::unwrap(), and llvm::wrap().

uint64_t LLVMGetRelocationType ( LLVMRelocationIteratorRef  RI)

Definition at line 203 of file Object.cpp.

References llvm::unwrap().

const char* LLVMGetRelocationTypeName ( LLVMRelocationIteratorRef  RI)
const char* LLVMGetRelocationValueString ( LLVMRelocationIteratorRef  RI)

Definition at line 217 of file Object.cpp.

uint64_t LLVMGetSectionAddress ( LLVMSectionIteratorRef  SI)

Definition at line 145 of file Object.cpp.

References llvm::unwrap().

LLVMBool LLVMGetSectionContainsSymbol ( LLVMSectionIteratorRef  SI,
LLVMSymbolIteratorRef  Sym 
)

Definition at line 149 of file Object.cpp.

References llvm::unwrap().

const char* LLVMGetSectionContents ( LLVMSectionIteratorRef  SI)

Definition at line 138 of file Object.cpp.

References llvm::StringRef::data(), llvm::report_fatal_error(), and llvm::unwrap().

const char* LLVMGetSectionName ( LLVMSectionIteratorRef  SI)
LLVMSectionIteratorRef LLVMGetSections ( LLVMObjectFileRef  ObjectFile)

Definition at line 79 of file Object.cpp.

References llvm::X86II::OB, SI, llvm::unwrap(), and llvm::wrap().

uint64_t LLVMGetSectionSize ( LLVMSectionIteratorRef  SI)

Definition at line 134 of file Object.cpp.

References llvm::unwrap().

uint64_t LLVMGetSymbolAddress ( LLVMSymbolIteratorRef  SI)
const char* LLVMGetSymbolName ( LLVMSymbolIteratorRef  SI)
LLVMSymbolIteratorRef LLVMGetSymbols ( LLVMObjectFileRef  ObjectFile)

Definition at line 106 of file Object.cpp.

References llvm::X86II::OB, SI, llvm::unwrap(), and llvm::wrap().

uint64_t LLVMGetSymbolSize ( LLVMSymbolIteratorRef  SI)

Definition at line 189 of file Object.cpp.

References llvm::unwrap().

LLVMBool LLVMIsRelocationIteratorAtEnd ( LLVMSectionIteratorRef  Section,
LLVMRelocationIteratorRef  RI 
)

Definition at line 164 of file Object.cpp.

References llvm::unwrap().

LLVMBool LLVMIsSectionIteratorAtEnd ( LLVMObjectFileRef  ObjectFile,
LLVMSectionIteratorRef  SI 
)

Definition at line 89 of file Object.cpp.

References llvm::X86II::OB, and llvm::unwrap().

LLVMBool LLVMIsSymbolIteratorAtEnd ( LLVMObjectFileRef  ObjectFile,
LLVMSymbolIteratorRef  SI 
)

Definition at line 116 of file Object.cpp.

References llvm::X86II::OB, and llvm::unwrap().

void LLVMMoveToContainingSection ( LLVMSectionIteratorRef  Sect,
LLVMSymbolIteratorRef  Sym 
)

Definition at line 99 of file Object.cpp.

References llvm::report_fatal_error(), and llvm::unwrap().

void LLVMMoveToNextRelocation ( LLVMRelocationIteratorRef  RI)

Definition at line 169 of file Object.cpp.

References llvm::unwrap().

void LLVMMoveToNextSection ( LLVMSectionIteratorRef  SI)

Definition at line 95 of file Object.cpp.

References llvm::unwrap().

void LLVMMoveToNextSymbol ( LLVMSymbolIteratorRef  SI)

Definition at line 122 of file Object.cpp.

References llvm::unwrap().