|
LLVM
4.0.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 | isCompressed () const |
| bool | isText () const |
| bool | isData () const |
| bool | isBSS () const |
| bool | isVirtual () const |
| bool | isBitcode () 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 70 of file ObjectFile.h.
|
inline |
Definition at line 76 of file ObjectFile.h.
|
inline |
Definition at line 351 of file ObjectFile.h.
Definition at line 32 of file ObjectFile.cpp.
References llvm::consumeError(), llvm::object::SymbolRef::getSection(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 376 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAddress().
Referenced by llvm::InstrProfSymtab::create(), llvm::getOffset(), and llvm::RuntimeDyldMachO::getRelocationValueRef().
|
inline |
Get the alignment of this section as the actual value (not log 2).
Definition at line 388 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 384 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionContents().
Referenced by llvm::InstrProfSymtab::create(), and llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 372 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 llvm::object::Decompressor::isCompressed().
|
inline |
Definition at line 432 of file ObjectFile.h.
Referenced by llvm::object::ELFSectionRef::ELFSectionRef(), llvm::object::ELFSectionRef::getObject(), llvm::isReadOnlyData(), llvm::isRequiredForExecution(), and llvm::isZeroInit().
|
inline |
Definition at line 428 of file ObjectFile.h.
Referenced by llvm::object::COFFObjectFile::getCOFFSection(), llvm::object::ELFSectionRef::getFlags(), llvm::object::ELFSectionRef::getOffset(), llvm::object::MachOObjectFile::getSectionID(), llvm::object::COFFObjectFile::getSectionID(), llvm::object::MachOObjectFile::getSectionType(), llvm::object::ELFSectionRef::getType(), llvm::object::WasmObjectFile::getWasmSection(), and llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection().
|
inline |
Definition at line 424 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocatedSection().
|
inline |
Definition at line 380 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 412 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBitcode().
|
inline |
Definition at line 404 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBSS().
|
inline |
Definition at line 392 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionCompressed().
Referenced by llvm::object::Decompressor::isCompressed().
|
inline |
Definition at line 400 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionData().
|
inline |
Definition at line 396 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionText().
Referenced by llvm::RuntimeDyldImpl::computeTotalAllocSize(), llvm::RuntimeDyldMachO::getRelocationValueRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Definition at line 408 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionVirtual().
Referenced by llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 368 of file ObjectFile.h.
References llvm::object::ObjectFile::moveSectionNext().
|
inline |
Definition at line 360 of file ObjectFile.h.
|
inline |
Definition at line 364 of file ObjectFile.h.
|
inline |
Definition at line 356 of file ObjectFile.h.
|
inline |
Definition at line 416 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_begin().
Referenced by relocations().
|
inline |
Definition at line 420 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_end().
Referenced by relocations().
|
inline |
Definition at line 105 of file ObjectFile.h.
References llvm::make_range(), relocation_begin(), and relocation_end().
|
friend |
Definition at line 71 of file ObjectFile.h.
1.8.6