LLVM: lib/Object/Object.cpp File Reference (original) (raw)
Functions
OwningBinary< ObjectFile > *
unwrap (LLVMObjectFileRef OF)
wrap (const OwningBinary< ObjectFile > *OF)
unwrap (LLVMSectionIteratorRef SI)
wrap (const section_iterator *SI)
unwrap (LLVMSymbolIteratorRef SI)
wrap (const symbol_iterator *SI)
unwrap (LLVMRelocationIteratorRef SI)
wrap (const relocation_iterator *SI)
LLVMCreateBinary (LLVMMemoryBufferRef MemBuf, LLVMContextRef Context, char **ErrorMessage)
Create a binary file from the given memory buffer.
LLVMBinaryCopyMemoryBuffer (LLVMBinaryRef BR)
Retrieves a copy of the memory buffer associated with this object file.
void
LLVMDisposeBinary (LLVMBinaryRef BR)
Dispose of a binary file.
LLVMBinaryGetType (LLVMBinaryRef BR)
Retrieve the specific type of a binary.
LLVMMachOUniversalBinaryCopyObjectForArch (LLVMBinaryRef BR, const char *Arch, size_t ArchLen, char **ErrorMessage)
LLVMObjectFileCopySectionIterator (LLVMBinaryRef BR)
Retrieve a copy of the section iterator for this object file.
LLVMObjectFileIsSectionIteratorAtEnd (LLVMBinaryRef BR, LLVMSectionIteratorRef SI)
Returns whether the given section iterator is at the end.
LLVMObjectFileCopySymbolIterator (LLVMBinaryRef BR)
Retrieve a copy of the symbol iterator for this object file.
LLVMObjectFileIsSymbolIteratorAtEnd (LLVMBinaryRef BR, LLVMSymbolIteratorRef SI)
Returns whether the given symbol iterator is at the end.
LLVMCreateObjectFile (LLVMMemoryBufferRef MemBuf)
Deprecated: Use LLVMCreateBinary instead.
void
LLVMDisposeObjectFile (LLVMObjectFileRef ObjectFile)
Deprecated: Use LLVMDisposeBinary instead.
LLVMGetSections (LLVMObjectFileRef OF)
Deprecated: Use LLVMObjectFileCopySectionIterator instead.
void
LLVMDisposeSectionIterator (LLVMSectionIteratorRef SI)
LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef OF, LLVMSectionIteratorRef SI)
Deprecated: Use LLVMObjectFileIsSectionIteratorAtEnd instead.
void
LLVMMoveToNextSection (LLVMSectionIteratorRef SI)
void
LLVMMoveToContainingSection (LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym)
LLVMGetSymbols (LLVMObjectFileRef OF)
Deprecated: Use LLVMObjectFileCopySymbolIterator instead.
void
LLVMDisposeSymbolIterator (LLVMSymbolIteratorRef SI)
LLVMIsSymbolIteratorAtEnd (LLVMObjectFileRef OF, LLVMSymbolIteratorRef SI)
Deprecated: Use LLVMObjectFileIsSymbolIteratorAtEnd instead.
void
LLVMMoveToNextSymbol (LLVMSymbolIteratorRef SI)
LLVMGetSectionName (LLVMSectionIteratorRef SI)
LLVMGetSectionSize (LLVMSectionIteratorRef SI)
LLVMGetSectionContents (LLVMSectionIteratorRef SI)
LLVMGetSectionAddress (LLVMSectionIteratorRef SI)
LLVMGetSectionContainsSymbol (LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym)
LLVMGetRelocations (LLVMSectionIteratorRef Section)
void
LLVMDisposeRelocationIterator (LLVMRelocationIteratorRef SI)
LLVMIsRelocationIteratorAtEnd (LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef SI)
void
LLVMMoveToNextRelocation (LLVMRelocationIteratorRef SI)
LLVMGetSymbolName (LLVMSymbolIteratorRef SI)
LLVMGetSymbolAddress (LLVMSymbolIteratorRef SI)
LLVMGetSymbolSize (LLVMSymbolIteratorRef SI)
LLVMGetRelocationOffset (LLVMRelocationIteratorRef RI)
LLVMGetRelocationSymbol (LLVMRelocationIteratorRef RI)
LLVMGetRelocationType (LLVMRelocationIteratorRef RI)