LLVM 22.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 83 of file ObjectFile.h.
|
default |
References LLVM_ABI, llvm::Other, SectionRef(), and SymbolRef.
Referenced by llvm::object::ELFSectionRef::ELFSectionRef(), operator!=(), operator<(), operator==(), and SectionRef().
|
inline |
Definition at line 499 of file ObjectFile.h.
Definition at line 47 of file ObjectFile.cpp.
References llvm::consumeError(), llvm::object::SymbolRef::getSection(), SymbolRef, and llvm::Expected< T >::takeError().
|
inline |
Definition at line 526 of file ObjectFile.h.
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 546 of file ObjectFile.h.
References llvm::MaybeAlign::valueOrOne().
Definition at line 538 of file ObjectFile.h.
References llvm::Expected< T >::takeError().
Referenced by llvm::BTFParser::ParseContext::makeExtractor().
|
inline |
Definition at line 530 of file ObjectFile.h.
Referenced by llvm::jitlink::COFFLinkGraphBuilder::forEachRelocation(), getSectionID(), and getSymbolInfo().
Definition at line 522 of file ObjectFile.h.
|
inline |
Definition at line 607 of file ObjectFile.h.
Referenced by llvm::object::ELFSectionRef::ELFSectionRef(), llvm::RuntimeDyldCOFFThumb::getJITSymbolFlags(), llvm::object::ELFSectionRef::getObject(), and handleCompressedSection().
|
inline |
Definition at line 603 of file ObjectFile.h.
Referenced by llvm::object::ELFObjectFileBase::getCrelDecodeProblem(), 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 599 of file ObjectFile.h.
|
inline |
Definition at line 534 of file ObjectFile.h.
|
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 583 of file ObjectFile.h.
|
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 579 of file ObjectFile.h.
|
inline |
Definition at line 571 of file ObjectFile.h.
|
inline |
Whether this section contains BSS uninitialized data.
Definition at line 563 of file ObjectFile.h.
Referenced by llvm::object::MachOObjectFile::getSymbolType().
|
inline |
Definition at line 551 of file ObjectFile.h.
|
inline |
Whether this section contains data, not instructions.
Definition at line 559 of file ObjectFile.h.
Referenced by llvm::object::MachOObjectFile::getSymbolType().
|
inline |
Whether this section is a debug section.
Definition at line 587 of file ObjectFile.h.
Referenced by llvm::object::ObjectFile::hasDebugInfo().
|
inline |
Definition at line 575 of file ObjectFile.h.
|
inline |
Whether this section contains instructions.
Definition at line 555 of file ObjectFile.h.
Referenced by llvm::RuntimeDyldMachO::getRelocationValueRef(), llvm::RuntimeDyldImpl::loadObjectImpl(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), llvm::RuntimeDyldELF::processRelocationRef(), and llvm::RuntimeDyldMachO::processScatteredVANILLA().
|
inline |
Definition at line 567 of file ObjectFile.h.
|
inline |
Definition at line 518 of file ObjectFile.h.
|
inline |
Definition at line 509 of file ObjectFile.h.
References llvm::Other, and SectionRef().
|
inline |
Definition at line 513 of file ObjectFile.h.
References assert(), llvm::Other, and SectionRef().
|
inline |
Definition at line 504 of file ObjectFile.h.
References llvm::Other, and SectionRef().
|
inline |
Definition at line 591 of file ObjectFile.h.
Referenced by relocations().
|
inline |
Definition at line 595 of file ObjectFile.h.
Referenced by relocations().
|
inline |
Definition at line 135 of file ObjectFile.h.
References llvm::make_range(), relocation_begin(), and relocation_end().
Referenced by llvm::jitlink::COFFLinkGraphBuilder::forEachRelocation().
|
friend |
Definition at line 84 of file ObjectFile.h.
References SymbolRef.
Referenced by containsSymbol(), SectionRef(), and SymbolRef.