LLVM API Documentation

Typedefs | Functions
Object file reading and writing
LLVM-C: C interface to LLVM
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 LLVMGetRelocationAddress (LLVMRelocationIteratorRef RI)
uint64_t LLVMGetRelocationOffset (LLVMRelocationIteratorRef RI)
LLVMSymbolIteratorRef LLVMGetRelocationSymbol (LLVMRelocationIteratorRef RI)
uint64_t LLVMGetRelocationType (LLVMRelocationIteratorRef RI)
const char * LLVMGetRelocationTypeName (LLVMRelocationIteratorRef RI)
const char * LLVMGetRelocationValueString (LLVMRelocationIteratorRef RI)

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

Definition at line 73 of file Object.cpp.

References llvm::unwrap().

Definition at line 168 of file Object.cpp.

References llvm::unwrap().

Definition at line 84 of file Object.cpp.

References llvm::unwrap().

Definition at line 111 of file Object.cpp.

References llvm::unwrap().

Definition at line 205 of file Object.cpp.

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

Definition at line 212 of file Object.cpp.

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

Definition at line 163 of file Object.cpp.

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

Definition at line 219 of file Object.cpp.

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

Definition at line 147 of file Object.cpp.

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

Definition at line 154 of file Object.cpp.

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

Definition at line 140 of file Object.cpp.

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

Definition at line 133 of file Object.cpp.

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

Definition at line 190 of file Object.cpp.

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

Definition at line 197 of file Object.cpp.

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

Definition at line 172 of file Object.cpp.

References llvm::unwrap().

Definition at line 98 of file Object.cpp.

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

Definition at line 177 of file Object.cpp.

References llvm::unwrap().

Definition at line 94 of file Object.cpp.

References llvm::unwrap().

Definition at line 121 of file Object.cpp.

References llvm::unwrap().