|
LLVM
3.7.0
|
This is a value type class that represents a single section in the list of sections in the object file. More...
#include <ObjectFile.h>
Public Member Functions | |
| SectionRef () | |
| SectionRef (DataRefImpl SectionP, const ObjectFile *Owner) | |
| SectionRef. More... | |
| bool | operator== (const SectionRef &Other) const |
| bool | operator!= (const SectionRef &Other) const |
| bool | operator< (const SectionRef &Other) const |
| void | moveNext () |
| std::error_code | getName (StringRef &Result) const |
| uint64_t | getAddress () const |
| uint64_t | getSize () const |
| std::error_code | getContents (StringRef &Result) const |
| uint64_t | getAlignment () const |
| Get the alignment of this section as the actual value (not log 2). More... | |
| bool | isText () const |
| bool | isData () const |
| bool | isBSS () const |
| bool | isVirtual () const |
| bool | containsSymbol (SymbolRef S) const |
| relocation_iterator | relocation_begin () const |
| relocation_iterator | relocation_end () const |
| iterator_range < relocation_iterator > | relocations () const |
| section_iterator | getRelocatedSection () const |
| DataRefImpl | getRawDataRefImpl () const |
| const ObjectFile * | getObject () const |
Friends | |
| class | SymbolRef |
This is a value type class that represents a single section in the list of sections in the object file.
Definition at line 69 of file ObjectFile.h.
|
inline |
Definition at line 75 of file ObjectFile.h.
|
inline |
Definition at line 341 of file ObjectFile.h.
Definition at line 31 of file ObjectFile.cpp.
References getObject(), llvm::object::SymbolRef::getSection(), and llvm::object::ObjectFile::section_end().
|
inline |
Definition at line 366 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAddress().
Referenced by llvm::getOffset(), and llvm::RuntimeDyldMachO::getRelocationValueRef().
|
inline |
Get the alignment of this section as the actual value (not log 2).
Definition at line 378 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAlignment().
Referenced by llvm::RuntimeDyldImpl::computeSectionStubBufSize(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 374 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionContents().
Referenced by llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 362 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionName().
Referenced by llvm::RuntimeDyldImpl::computeTotalAllocSize(), llvm::RuntimeDyldImpl::emitSection(), llvm::RuntimeDyldELF::finalizeLoad(), llvm::RuntimeDyldCOFFX86_64::finalizeLoad(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), and lookupSection().
|
inline |
Definition at line 414 of file ObjectFile.h.
Referenced by containsSymbol(), llvm::object::ELFSectionRef::ELFSectionRef(), llvm::object::ELFSectionRef::getObject(), llvm::isReadOnlyData(), llvm::isRequiredForExecution(), and llvm::isZeroInit().
|
inline |
Definition at line 410 of file ObjectFile.h.
Referenced by llvm::object::COFFObjectFile::getCOFFSection(), llvm::object::ELFSectionRef::getFlags(), llvm::object::MachOObjectFile::getSectionID(), llvm::object::COFFObjectFile::getSectionID(), llvm::object::MachOObjectFile::getSectionType(), llvm::object::ELFSectionRef::getType(), and llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection().
|
inline |
Definition at line 406 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocatedSection().
|
inline |
Definition at line 370 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionSize().
Referenced by llvm::RuntimeDyldImpl::computeSectionStubBufSize(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 390 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBSS().
|
inline |
Definition at line 386 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionData().
|
inline |
Definition at line 382 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionText().
Referenced by llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldMachO::getRelocationValueRef().
|
inline |
Definition at line 394 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionVirtual().
Referenced by llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 358 of file ObjectFile.h.
References llvm::object::ObjectFile::moveSectionNext().
|
inline |
Definition at line 350 of file ObjectFile.h.
|
inline |
Definition at line 354 of file ObjectFile.h.
|
inline |
Definition at line 346 of file ObjectFile.h.
|
inline |
Definition at line 398 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_begin().
Referenced by relocations().
|
inline |
Definition at line 402 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_end().
Referenced by relocations().
|
inline |
Definition at line 102 of file ObjectFile.h.
References relocation_begin(), and relocation_end().
|
friend |
Definition at line 70 of file ObjectFile.h.
1.8.6