LLVM 19.0.0git
|
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 493 of file ObjectFile.h.
Definition at line 46 of file ObjectFile.cpp.
References llvm::consumeError(), llvm::object::SymbolRef::getSection(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 520 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAddress().
Referenced by llvm::getOffset(), llvm::RuntimeDyldMachO::getRelocationValueRef(), getSymbolInfo(), llvm::RuntimeDyldMachO::makeValueAddendPCRel(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Get the alignment of this section.
Definition at line 540 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionAlignment(), and llvm::MaybeAlign::valueOrOne().
Definition at line 532 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionContents(), and llvm::Expected< T >::takeError().
Referenced by llvm::object::ResourceSectionRef::load(), and llvm::BTFParser::ParseContext::makeExtractor().
|
inline |
Definition at line 524 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionIndex().
Referenced by llvm::jitlink::COFFLinkGraphBuilder::forEachRelocation(), getSectionID(), and getSymbolInfo().
Definition at line 516 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionName().
|
inline |
Definition at line 601 of file ObjectFile.h.
Referenced by llvm::object::ELFSectionRef::ELFSectionRef(), llvm::RuntimeDyldCOFFThumb::getJITSymbolFlags(), llvm::object::ELFSectionRef::getObject(), and handleCompressedSection().
|
inline |
Definition at line 597 of file ObjectFile.h.
Referenced by llvm::object::ELFSectionRef::getFlags(), llvm::DenseMapInfo< object::SectionRef >::getHashValue(), llvm::object::ELFSectionRef::getOffset(), llvm::object::COFFObjectFile::getSectionID(), llvm::object::MachOObjectFile::getSectionID(), llvm::object::MachOObjectFile::getSectionType(), llvm::object::ELFSectionRef::getType(), and llvm::RuntimeDyldMachO::populateIndirectSymbolPointersSection().
|
inline |
Returns the related section if this section contains relocations.
The returned section may or may not have applied its relocations.
Definition at line 593 of file ObjectFile.h.
References llvm::object::ObjectFile::getRelocatedSection().
|
inline |
Definition at line 528 of file ObjectFile.h.
References llvm::object::ObjectFile::getSectionSize().
|
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 577 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 573 of file ObjectFile.h.
References llvm::object::ObjectFile::isBerkeleyText().
|
inline |
Definition at line 565 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBitcode().
|
inline |
Whether this section contains BSS uninitialized data.
Definition at line 557 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionBSS().
Referenced by llvm::object::MachOObjectFile::getSymbolType().
|
inline |
Definition at line 545 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionCompressed().
|
inline |
Whether this section contains data, not instructions.
Definition at line 553 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionData().
Referenced by llvm::object::MachOObjectFile::getSymbolType().
|
inline |
Whether this section is a debug section.
Definition at line 581 of file ObjectFile.h.
References llvm::object::ObjectFile::isDebugSection().
Referenced by llvm::object::ObjectFile::hasDebugInfo().
|
inline |
Definition at line 569 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionStripped().
|
inline |
Whether this section contains instructions.
Definition at line 549 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionText().
Referenced by llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldImpl::loadObjectImpl(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Definition at line 561 of file ObjectFile.h.
References llvm::object::ObjectFile::isSectionVirtual().
|
inline |
Definition at line 512 of file ObjectFile.h.
References llvm::object::ObjectFile::moveSectionNext().
|
inline |
Definition at line 503 of file ObjectFile.h.
References llvm::Other.
|
inline |
Definition at line 507 of file ObjectFile.h.
References assert(), and llvm::Other.
|
inline |
Definition at line 498 of file ObjectFile.h.
References llvm::Other.
|
inline |
Definition at line 585 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_begin().
Referenced by relocations().
|
inline |
Definition at line 589 of file ObjectFile.h.
References llvm::object::ObjectFile::section_rel_end().
Referenced by relocations().
|
inline |
Definition at line 133 of file ObjectFile.h.
References llvm::make_range(), relocation_begin(), and relocation_end().
Referenced by llvm::jitlink::COFFLinkGraphBuilder::forEachRelocation().
|
friend |
Definition at line 82 of file ObjectFile.h.