LLVM  6.0.0svn
Functions
Object.cpp File Reference
#include "llvm-c/Object.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Object/ObjectFile.h"
Include dependency graph for Object.cpp:

Go to the source code of this file.

Functions

OwningBinary< ObjectFile > * unwrap (LLVMObjectFileRef OF)
 
LLVMObjectFileRef wrap (const OwningBinary< ObjectFile > *OF)
 
section_iterator * unwrap (LLVMSectionIteratorRef SI)
 
LLVMSectionIteratorRef wrap (const section_iterator *SI)
 
symbol_iterator * unwrap (LLVMSymbolIteratorRef SI)
 
LLVMSymbolIteratorRef wrap (const symbol_iterator *SI)
 
relocation_iterator * unwrap (LLVMRelocationIteratorRef SI)
 
LLVMRelocationIteratorRef wrap (const relocation_iterator *SI)
 
LLVMObjectFileRef LLVMCreateObjectFile (LLVMMemoryBufferRef MemBuf)
 
void LLVMDisposeObjectFile (LLVMObjectFileRef ObjectFile)
 
LLVMSectionIteratorRef LLVMGetSections (LLVMObjectFileRef OF)
 
void LLVMDisposeSectionIterator (LLVMSectionIteratorRef SI)
 
LLVMBool LLVMIsSectionIteratorAtEnd (LLVMObjectFileRef OF, LLVMSectionIteratorRef SI)
 
void LLVMMoveToNextSection (LLVMSectionIteratorRef SI)
 
void LLVMMoveToContainingSection (LLVMSectionIteratorRef Sect, LLVMSymbolIteratorRef Sym)
 
LLVMSymbolIteratorRef LLVMGetSymbols (LLVMObjectFileRef OF)
 
void LLVMDisposeSymbolIterator (LLVMSymbolIteratorRef SI)
 
LLVMBool LLVMIsSymbolIteratorAtEnd (LLVMObjectFileRef OF, LLVMSymbolIteratorRef SI)
 
void LLVMMoveToNextSymbol (LLVMSymbolIteratorRef SI)
 
const charLLVMGetSectionName (LLVMSectionIteratorRef SI)
 
uint64_t LLVMGetSectionSize (LLVMSectionIteratorRef SI)
 
const charLLVMGetSectionContents (LLVMSectionIteratorRef SI)
 
uint64_t LLVMGetSectionAddress (LLVMSectionIteratorRef SI)
 
LLVMBool LLVMGetSectionContainsSymbol (LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym)
 
LLVMRelocationIteratorRef LLVMGetRelocations (LLVMSectionIteratorRef Section)
 
void LLVMDisposeRelocationIterator (LLVMRelocationIteratorRef SI)
 
LLVMBool LLVMIsRelocationIteratorAtEnd (LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef SI)
 
void LLVMMoveToNextRelocation (LLVMRelocationIteratorRef SI)
 
const charLLVMGetSymbolName (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 charLLVMGetRelocationTypeName (LLVMRelocationIteratorRef RI)
 
const charLLVMGetRelocationValueString (LLVMRelocationIteratorRef RI)
 

Function Documentation

◆ unwrap() [1/4]

OwningBinary<ObjectFile>* unwrap ( LLVMObjectFileRef  OF)
inline

Definition at line 22 of file Object.cpp.

◆ unwrap() [2/4]

section_iterator* unwrap ( LLVMSectionIteratorRef  SI)
inline

Definition at line 31 of file Object.cpp.

References SI.

◆ unwrap() [3/4]

symbol_iterator* unwrap ( LLVMSymbolIteratorRef  SI)
inline

Definition at line 41 of file Object.cpp.

References SI.

◆ unwrap() [4/4]

relocation_iterator* unwrap ( LLVMRelocationIteratorRef  SI)
inline

Definition at line 51 of file Object.cpp.

References SI.

◆ wrap() [1/4]

LLVMObjectFileRef wrap ( const OwningBinary< ObjectFile > *  OF)
inline

Definition at line 26 of file Object.cpp.

◆ wrap() [2/4]

LLVMSectionIteratorRef wrap ( const section_iterator *  SI)
inline

Definition at line 36 of file Object.cpp.

References SI.

◆ wrap() [3/4]

LLVMSymbolIteratorRef wrap ( const symbol_iterator *  SI)
inline

Definition at line 46 of file Object.cpp.

References SI.

◆ wrap() [4/4]

LLVMRelocationIteratorRef wrap ( const relocation_iterator *  SI)
inline

Definition at line 56 of file Object.cpp.

References SI.