LLVM API Documentation
![]() |
Typedefs | |
typedef struct LLVMOpaqueObjectFile * | LLVMObjectFileRef |
typedef struct LLVMOpaqueSectionIterator * | LLVMSectionIteratorRef |
typedef struct LLVMOpaqueSymbolIterator * | LLVMSymbolIteratorRef |
typedef struct LLVMOpaqueRelocationIterator * | LLVMRelocationIteratorRef |
typedef struct LLVMOpaqueObjectFile* LLVMObjectFileRef |
typedef struct LLVMOpaqueRelocationIterator* LLVMRelocationIteratorRef |
typedef struct LLVMOpaqueSectionIterator* LLVMSectionIteratorRef |
typedef struct LLVMOpaqueSymbolIterator* LLVMSymbolIteratorRef |
LLVMObjectFileRef LLVMCreateObjectFile | ( | LLVMMemoryBufferRef | MemBuf | ) |
Definition at line 61 of file Object.cpp.
References llvm::object::ObjectFile::createObjectFile(), llvm::unwrap(), and llvm::wrap().
void LLVMDisposeObjectFile | ( | LLVMObjectFileRef | ObjectFile | ) |
Definition at line 65 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 75 of file Object.cpp.
References llvm::unwrap().
void LLVMDisposeSymbolIterator | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 102 of file Object.cpp.
References llvm::unwrap().
uint64_t LLVMGetRelocationAddress | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 207 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
uint64_t LLVMGetRelocationOffset | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 214 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
LLVMRelocationIteratorRef LLVMGetRelocations | ( | LLVMSectionIteratorRef | Section | ) |
Definition at line 155 of file Object.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVMSymbolIteratorRef LLVMGetRelocationSymbol | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 221 of file Object.cpp.
References llvm::unwrap(), and llvm::wrap().
uint64_t LLVMGetRelocationType | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 226 of file Object.cpp.
References llvm::Intrinsic::getType(), llvm::report_fatal_error(), and llvm::unwrap().
const char* LLVMGetRelocationTypeName | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 234 of file Object.cpp.
References llvm::SmallVectorTemplateCommon< T >::begin(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::LibFunc::malloc, llvm::report_fatal_error(), llvm::SmallVectorTemplateCommon< T >::size(), and llvm::unwrap().
const char* LLVMGetRelocationValueString | ( | LLVMRelocationIteratorRef | RI | ) |
Definition at line 245 of file Object.cpp.
References llvm::SmallVectorTemplateCommon< T >::begin(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::LibFunc::malloc, llvm::report_fatal_error(), llvm::SmallVectorTemplateCommon< T >::size(), and llvm::unwrap().
uint64_t LLVMGetSectionAddress | ( | LLVMSectionIteratorRef | SI | ) |
Definition at line 139 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
LLVMBool LLVMGetSectionContainsSymbol | ( | LLVMSectionIteratorRef | SI, |
LLVMSymbolIteratorRef | Sym | ||
) |
Definition at line 146 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
const char* LLVMGetSectionContents | ( | LLVMSectionIteratorRef | SI | ) |
Definition at line 132 of file Object.cpp.
References llvm::StringRef::data(), llvm::report_fatal_error(), and llvm::unwrap().
const char* LLVMGetSectionName | ( | LLVMSectionIteratorRef | SI | ) |
Definition at line 118 of file Object.cpp.
References llvm::StringRef::data(), llvm::Intrinsic::getName(), llvm::report_fatal_error(), and llvm::unwrap().
LLVMSectionIteratorRef LLVMGetSections | ( | LLVMObjectFileRef | ObjectFile | ) |
Definition at line 70 of file Object.cpp.
References llvm::unwrap(), and llvm::wrap().
uint64_t LLVMGetSectionSize | ( | LLVMSectionIteratorRef | SI | ) |
Definition at line 125 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
uint64_t LLVMGetSymbolAddress | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 185 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
uint64_t LLVMGetSymbolFileOffset | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 192 of file Object.cpp.
References llvm::report_fatal_error(), and llvm::unwrap().
const char* LLVMGetSymbolName | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 178 of file Object.cpp.
References llvm::StringRef::data(), llvm::Intrinsic::getName(), llvm::report_fatal_error(), and llvm::unwrap().
LLVMSymbolIteratorRef LLVMGetSymbols | ( | LLVMObjectFileRef | ObjectFile | ) |
Definition at line 97 of file Object.cpp.
References llvm::unwrap(), and llvm::wrap().
uint64_t LLVMGetSymbolSize | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 199 of file Object.cpp.
References llvm::report_fatal_error(), and 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 79 of file Object.cpp.
References llvm::unwrap().
LLVMBool LLVMIsSymbolIteratorAtEnd | ( | LLVMObjectFileRef | ObjectFile, |
LLVMSymbolIteratorRef | SI | ||
) |
Definition at line 106 of file Object.cpp.
References llvm::unwrap().
void LLVMMoveToContainingSection | ( | LLVMSectionIteratorRef | Sect, |
LLVMSymbolIteratorRef | Sym | ||
) |
Definition at line 90 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::error_code::message(), llvm::report_fatal_error(), and llvm::unwrap().
void LLVMMoveToNextSection | ( | LLVMSectionIteratorRef | SI | ) |
Definition at line 84 of file Object.cpp.
References llvm::error_code::message(), llvm::report_fatal_error(), and llvm::unwrap().
void LLVMMoveToNextSymbol | ( | LLVMSymbolIteratorRef | SI | ) |
Definition at line 111 of file Object.cpp.
References llvm::error_code::message(), llvm::report_fatal_error(), and llvm::unwrap().