LLVM
10.0.0svn
|
This is a value type class that represents a single section in the list of sections in the object file. More...
#include "llvm/Object/ObjectFile.h"
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 81 of file ObjectFile.h.
|
default |
|
inline |
Definition at line 409 of file ObjectFile.h.
Definition at line 40 of file ObjectFile.cpp.
References llvm::consumeError(), llvm::object::SymbolRef::getSection(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 436 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAddress().
Referenced by llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::getOffset(), and llvm::RuntimeDyldMachO::getRelocationValueRef().
|
inline |
Get the alignment of this section as the actual value (not log 2).
Definition at line 456 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAlignment().
Referenced by llvm::RuntimeDyldImpl::computeSectionStubBufSize(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldImpl::emitSection().
Definition at line 448 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionContents(), and llvm::Expected< T >::takeError().
Referenced by llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 440 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionIndex().
Definition at line 432 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(), llvm::object::Decompressor::isCompressed(), and loadObj().
|
inline |
Definition at line 512 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 508 of file ObjectFile.h.
Referenced by llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::object::COFFObjectFile::getCOFFSection(), llvm::DenseMapInfo< object::SectionRef >::getHashValue(), llvm::object::MachOObjectFile::getSectionID(), llvm::object::COFFObjectFile::getSectionID(), llvm::object::MachOObjectFile::getSectionType(), llvm::object::WasmObjectFile::getWasmSection(), and llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection().
|
inline |
Definition at line 504 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocatedSection().
|
inline |
Definition at line 444 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionSize().
Referenced by llvm::RuntimeDyldImpl::computeSectionStubBufSize(), llvm::RuntimeDyldImpl::computeTotalAllocSize(), and llvm::RuntimeDyldImpl::emitSection().
|
inline |
Whether this section will be placed in the data segment, according to the Berkeley size format.
This is true if the section is allocatable and contains data (e.g. PROGBITS), but is not text.
Definition at line 492 of file ObjectFile.h.
References llvm::object::ObjectFile::isBerkeleyData().
|
inline |
Whether this section will be placed in the text segment, according to the Berkeley size format.
This is true if the section is allocatable, and contains either code or readonly data.
Definition at line 488 of file ObjectFile.h.
References llvm::object::ObjectFile::isBerkeleyText().
|
inline |
Definition at line 480 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBitcode().
|
inline |
Whether this section contains BSS uninitialized data.
Definition at line 472 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBSS().
|
inline |
Definition at line 460 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionCompressed().
Referenced by llvm::object::Decompressor::isCompressed().
|
inline |
Whether this section contains data, not instructions.
Definition at line 468 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionData().
|
inline |
Definition at line 484 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionStripped().
|
inline |
Whether this section contains instructions.
Definition at line 464 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionText().
Referenced by llvm::RuntimeDyldImpl::computeTotalAllocSize(), llvm::RuntimeDyldMachOX86_64::finalizeSection(), llvm::RuntimeDyldMachOI386::finalizeSection(), llvm::RuntimeDyldMachOARM::finalizeSection(), llvm::RuntimeDyldMachO::getRelocationValueRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Definition at line 476 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionVirtual().
Referenced by llvm::RuntimeDyldImpl::emitSection().
|
inline |
Definition at line 428 of file ObjectFile.h.
References llvm::object::ObjectFile::moveSectionNext().
|
inline |
Definition at line 419 of file ObjectFile.h.
References Other.
|
inline |
Definition at line 423 of file ObjectFile.h.
References assert().
|
inline |
Definition at line 414 of file ObjectFile.h.
|
inline |
Definition at line 496 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_begin().
|
inline |
Definition at line 500 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_end().
|
inline |
Definition at line 130 of file ObjectFile.h.
References llvm::object::RelocationRef::getObject(), llvm::object::RelocationRef::getRawDataRefImpl(), and llvm::make_range().
Referenced by loadObj().
|
friend |
Definition at line 82 of file ObjectFile.h.