LLVM: llvm::MCObjectFileInfo Class Reference (original) (raw)

#include "[llvm/MC/MCObjectFileInfo.h](MCObjectFileInfo%5F8h%5Fsource.html)"

Public Member Functions
void initMCObjectFileInfo (MCContext &MCCtx, bool PIC, bool LargeCodeModel=false)
virtual ~MCObjectFileInfo ()
MCContext & getContext () const
bool getSupportsWeakOmittedEHFrame () const
bool getSupportsCompactUnwindWithoutEHFrame () const
bool getOmitDwarfIfHaveCompactUnwind () const
unsigned getFDEEncoding () const
unsigned getCompactUnwindDwarfEHFrameOnly () const
virtual unsigned getTextSectionAlignment () const
MCSection * getTextSection () const
MCSection * getDataSection () const
MCSection * getBSSSection () const
MCSection * getReadOnlySection () const
MCSection * getLSDASection () const
MCSection * getImportCallSection () const
MCSection * getCompactUnwindSection () const
MCSection * getDwarfAbbrevSection () const
MCSection * getDwarfInfoSection () const
MCSection * getDwarfInfoSection (uint64_t Hash) const
MCSection * getDwarfLineSection () const
MCSection * getDwarfLineStrSection () const
MCSection * getDwarfFrameSection () const
MCSection * getDwarfPubNamesSection () const
MCSection * getDwarfPubTypesSection () const
MCSection * getDwarfGnuPubNamesSection () const
MCSection * getDwarfGnuPubTypesSection () const
const MCSection * getDwarfDebugInlineSection () const
MCSection * getDwarfStrSection () const
MCSection * getDwarfLocSection () const
MCSection * getDwarfARangesSection () const
MCSection * getDwarfRangesSection () const
MCSection * getDwarfRnglistsSection () const
MCSection * getDwarfLoclistsSection () const
MCSection * getDwarfMacinfoSection () const
MCSection * getDwarfMacroSection () const
MCSection * getDwarfDebugNamesSection () const
MCSection * getDwarfAccelNamesSection () const
MCSection * getDwarfAccelObjCSection () const
MCSection * getDwarfAccelNamespaceSection () const
MCSection * getDwarfAccelTypesSection () const
MCSection * getDwarfInfoDWOSection () const
MCSection * getDwarfTypesSection (uint64_t Hash) const
MCSection * getDwarfTypesDWOSection () const
MCSection * getDwarfAbbrevDWOSection () const
MCSection * getDwarfStrDWOSection () const
MCSection * getDwarfLineDWOSection () const
MCSection * getDwarfLocDWOSection () const
MCSection * getDwarfStrOffDWOSection () const
MCSection * getDwarfStrOffSection () const
MCSection * getDwarfAddrSection () const
MCSection * getDwarfRnglistsDWOSection () const
MCSection * getDwarfLoclistsDWOSection () const
MCSection * getDwarfMacroDWOSection () const
MCSection * getDwarfMacinfoDWOSection () const
MCSection * getDwarfCUIndexSection () const
MCSection * getDwarfTUIndexSection () const
MCSection * getDwarfSwiftASTSection () const
MCSection * getCOFFDebugSymbolsSection () const
MCSection * getCOFFDebugTypesSection () const
MCSection * getCOFFGlobalTypeHashesSection () const
MCSection * getTLSExtraDataSection () const
const MCSection * getTLSDataSection () const
MCSection * getTLSBSSSection () const
MCSection * getStackMapSection () const
MCSection * getFaultMapSection () const
MCSection * getRemarksSection () const
MCSection * getStackSizesSection (const MCSection &TextSec) const
MCSection * getBBAddrMapSection (const MCSection &TextSec) const
MCSection * getKCFITrapSection (const MCSection &TextSec) const
MCSection * getPseudoProbeSection (const MCSection &TextSec) const
MCSection * getPseudoProbeDescSection (StringRef FuncName) const
MCSection * getLLVMStatsSection () const
MCSection * getPCSection (StringRef Name, const MCSection *TextSec) const
MCSection * getDataRelROSection () const
const MCSection * getMergeableConst4Section () const
const MCSection * getMergeableConst8Section () const
const MCSection * getMergeableConst16Section () const
const MCSection * getMergeableConst32Section () const
const MCSection * getTLSTLVSection () const
const MCSection * getTLSThreadInitSection () const
const MCSection * getCStringSection () const
const MCSection * getUStringSection () const
MCSection * getTextCoalSection () const
const MCSection * getConstTextCoalSection () const
const MCSection * getConstDataSection () const
const MCSection * getDataCoalSection () const
const MCSection * getConstDataCoalSection () const
const MCSection * getDataCommonSection () const
MCSection * getDataBSSSection () const
const MCSection * getFourByteConstantSection () const
const MCSection * getEightByteConstantSection () const
const MCSection * getSixteenByteConstantSection () const
MCSection * getLazySymbolPointerSection () const
MCSection * getNonLazySymbolPointerSection () const
MCSection * getThreadLocalPointerSection () const
MCSection * getAddrSigSection () const
MCSection * getDrectveSection () const
MCSection * getPDataSection () const
MCSection * getXDataSection () const
MCSection * getSXDataSection () const
MCSection * getGEHContSection () const
MCSection * getGFIDsSection () const
MCSection * getGIATsSection () const
MCSection * getGLJMPSection () const
MCSection * getPPA1Section () const
MCSection * getPPA2Section () const
MCSection * getPPA2ListSection () const
MCSection * getADASection () const
MCSection * getIDRLSection () const
MCSection * getTOCBaseSection () const
MCSection * getEHFrameSection () const
bool isPositionIndependent () const
MCSection * getSwift5ReflectionSection (llvm::binaryformat::Swift5ReflectionSectionKind ReflSectionKind)
Protected Attributes
bool SupportsWeakOmittedEHFrame = false
True if target object file supports a weak_definition of constant 0 for an omitted EH frame.
bool SupportsCompactUnwindWithoutEHFrame = false
True if the target object file supports emitting a compact unwind section without an associated EH frame section.
bool OmitDwarfIfHaveCompactUnwind = false
OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind.
unsigned FDECFIEncoding = 0
FDE CFI encoding.
unsigned CompactUnwindDwarfEHFrameOnly = 0
Compact unwind encoding indicating that we should emit only an EH frame.
MCSection * TextSection = nullptr
Section directive for standard text.
MCSection * DataSection = nullptr
Section directive for standard data.
MCSection * BSSSection = nullptr
Section that is default initialized to zero.
MCSection * ReadOnlySection = nullptr
Section that is readonly and can contain arbitrary initialized data.
MCSection * LSDASection = nullptr
If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to.
MCSection * CompactUnwindSection = nullptr
If exception handling is supported by the target and the target can support a compact representation of the CIE and FDE, this is the section to emit them into.
MCSection * ImportCallSection = nullptr
If import call optimization is supported by the target, this is the section to emit import call data to.
MCSection * DwarfAbbrevSection = nullptr
MCSection * DwarfInfoSection = nullptr
MCSection * DwarfLineSection = nullptr
MCSection * DwarfLineStrSection = nullptr
MCSection * DwarfFrameSection = nullptr
MCSection * DwarfPubTypesSection = nullptr
const MCSection * DwarfDebugInlineSection = nullptr
MCSection * DwarfStrSection = nullptr
MCSection * DwarfLocSection = nullptr
MCSection * DwarfARangesSection = nullptr
MCSection * DwarfRangesSection = nullptr
MCSection * DwarfMacinfoSection = nullptr
MCSection * DwarfMacroSection = nullptr
MCSection * DwarfPubNamesSection = nullptr
MCSection * DwarfDebugNamesSection = nullptr
Accelerator table sections.
MCSection * DwarfAccelNamesSection = nullptr
MCSection * DwarfAccelObjCSection = nullptr
MCSection * DwarfAccelNamespaceSection = nullptr
MCSection * DwarfAccelTypesSection = nullptr
MCSection * DwarfInfoDWOSection = nullptr
MCSection * DwarfTypesDWOSection = nullptr
MCSection * DwarfAbbrevDWOSection = nullptr
MCSection * DwarfStrDWOSection = nullptr
MCSection * DwarfLineDWOSection = nullptr
MCSection * DwarfLocDWOSection = nullptr
MCSection * DwarfStrOffDWOSection = nullptr
MCSection * DwarfMacinfoDWOSection = nullptr
MCSection * DwarfMacroDWOSection = nullptr
MCSection * DwarfStrOffSection = nullptr
The DWARF v5 string offset and address table sections.
MCSection * DwarfAddrSection = nullptr
MCSection * DwarfRnglistsSection = nullptr
The DWARF v5 range list section.
MCSection * DwarfLoclistsSection = nullptr
The DWARF v5 locations list section.
MCSection * DwarfRnglistsDWOSection = nullptr
The DWARF v5 range and location list sections for fission.
MCSection * DwarfLoclistsDWOSection = nullptr
MCSection * DwarfCUIndexSection = nullptr
MCSection * DwarfTUIndexSection = nullptr
MCSection * DwarfGnuPubNamesSection = nullptr
Section for newer gnu pubnames.
MCSection * DwarfGnuPubTypesSection = nullptr
Section for newer gnu pubtypes.
MCSection * DwarfSwiftASTSection = nullptr
MCSection * COFFDebugSymbolsSection = nullptr
MCSection * COFFDebugTypesSection = nullptr
MCSection * COFFGlobalTypeHashesSection = nullptr
MCSection * TLSExtraDataSection = nullptr
Extra TLS Variable Data section.
MCSection * TLSDataSection = nullptr
Section directive for Thread Local data. ELF, MachO, COFF, and Wasm.
MCSection * TLSBSSSection = nullptr
Section directive for Thread Local uninitialized data.
MCSection * StackMapSection = nullptr
StackMap section.
MCSection * FaultMapSection = nullptr
FaultMap section.
MCSection * RemarksSection = nullptr
Remarks section.
MCSection * EHFrameSection = nullptr
EH frame section.
MCSection * StackSizesSection = nullptr
Section containing metadata on function stack sizes.
MCSection * PseudoProbeSection = nullptr
Section for pseudo probe information used by AutoFDO.
MCSection * PseudoProbeDescSection = nullptr
MCSection * LLVMStatsSection = nullptr
MCSection * DataRelROSection = nullptr
MCSection * MergeableConst4Section = nullptr
MCSection * MergeableConst8Section = nullptr
MCSection * MergeableConst16Section = nullptr
MCSection * MergeableConst32Section = nullptr
MCSection * TLSTLVSection = nullptr
Section for thread local structure information.
const MCSection * TLSThreadInitSection = nullptr
Section for thread local data initialization functions.
MCSection * CStringSection = nullptr
MCSection * UStringSection = nullptr
MCSection * TextCoalSection = nullptr
MCSection * ConstTextCoalSection = nullptr
MCSection * ConstDataSection = nullptr
MCSection * DataCoalSection = nullptr
MCSection * ConstDataCoalSection = nullptr
MCSection * DataCommonSection = nullptr
MCSection * DataBSSSection = nullptr
MCSection * FourByteConstantSection = nullptr
MCSection * EightByteConstantSection = nullptr
MCSection * SixteenByteConstantSection = nullptr
MCSection * LazySymbolPointerSection = nullptr
MCSection * NonLazySymbolPointerSection = nullptr
MCSection * ThreadLocalPointerSection = nullptr
MCSection * AddrSigSection = nullptr
MCSection * DrectveSection = nullptr
COFF specific sections.
MCSection * PDataSection = nullptr
MCSection * XDataSection = nullptr
MCSection * SXDataSection = nullptr
MCSection * GEHContSection = nullptr
MCSection * GFIDsSection = nullptr
MCSection * GIATsSection = nullptr
MCSection * GLJMPSection = nullptr
MCSection * PPA1Section = nullptr
MCSection * PPA2Section = nullptr
MCSection * PPA2ListSection = nullptr
MCSection * ADASection = nullptr
MCSection * IDRLSection = nullptr
MCSection * TOCBaseSection = nullptr
MCSection * ReadOnly8Section = nullptr
MCSection * ReadOnly16Section = nullptr
std::array< MCSection *, binaryformat::Swift5ReflectionSectionKind::last > Swift5ReflectionSections = {}

Definition at line 28 of file MCObjectFileInfo.h.

MCObjectFileInfo::~MCObjectFileInfo ( ) virtualdefault

getADASection()

MCSection * llvm::MCObjectFileInfo::getADASection ( ) const inline

getAddrSigSection()

MCSection * llvm::MCObjectFileInfo::getAddrSigSection ( ) const inline

getBBAddrMapSection()

getBSSSection()

MCSection * llvm::MCObjectFileInfo::getBSSSection ( ) const inline

getCOFFDebugSymbolsSection()

MCSection * llvm::MCObjectFileInfo::getCOFFDebugSymbolsSection ( ) const inline

getCOFFDebugTypesSection()

MCSection * llvm::MCObjectFileInfo::getCOFFDebugTypesSection ( ) const inline

getCOFFGlobalTypeHashesSection()

MCSection * llvm::MCObjectFileInfo::getCOFFGlobalTypeHashesSection ( ) const inline

getCompactUnwindDwarfEHFrameOnly()

unsigned llvm::MCObjectFileInfo::getCompactUnwindDwarfEHFrameOnly ( ) const inline

getCompactUnwindSection()

MCSection * llvm::MCObjectFileInfo::getCompactUnwindSection ( ) const inline

getConstDataCoalSection()

const MCSection * llvm::MCObjectFileInfo::getConstDataCoalSection ( ) const inline

getConstDataSection()

const MCSection * llvm::MCObjectFileInfo::getConstDataSection ( ) const inline

getConstTextCoalSection()

const MCSection * llvm::MCObjectFileInfo::getConstTextCoalSection ( ) const inline

getContext()

MCContext & llvm::MCObjectFileInfo::getContext ( ) const inline

Definition at line 252 of file MCObjectFileInfo.h.

Referenced by llvm::TargetLoweringObjectFile::emitCGProfileMetadata(), llvm::TargetLoweringObjectFileELF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileCOFF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileELF::emitModuleMetadata(), llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), llvm::AArch64_ELFTargetObjectFile::emitPersonalityValueImpl(), llvm::AArch64_ELFTargetObjectFile::getAuthPtrSlotSymbol(), llvm::AArch64_MachoTargetObjectFile::getAuthPtrSlotSymbol(), llvm::TargetLoweringObjectFile::getCallSiteEncoding(), llvm::TargetLoweringObjectFileELF::getCFIPersonalitySymbol(), llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol(), llvm::ARMElfTargetObjectFile::getDebugThreadLocalSymbol(), llvm::MipsTargetObjectFile::getDebugThreadLocalSymbol(), llvm::SystemZELFTargetObjectFile::getDebugThreadLocalSymbol(), llvm::X86ELFTargetObjectFile::getDebugThreadLocalSymbol(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileWasm::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getExplicitSectionGlobal(), DXILTargetObjectFile::getExplicitSectionGlobal(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getFunctionEntryPointSymbol(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), llvm::AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::RISCVELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaRWPI(), llvm::TargetLoweringObjectFileELF::getSectionForCommandLines(), llvm::TargetLoweringObjectFileMachO::getSectionForCommandLines(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileXCOFF::getSectionForFunctionDescriptor(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileELF::getSectionForMachineBasicBlock(), llvm::TargetLoweringObjectFileXCOFF::getSectionForTOCEntry(), llvm::TargetLoweringObjectFileELF::getStaticCtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticCtorSection(), llvm::TargetLoweringObjectFileWasm::getStaticCtorSection(), llvm::TargetLoweringObjectFileELF::getStaticDtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticDtorSection(), llvm::TargetMachine::getSymbol(), llvm::TargetLoweringObjectFile::getSymbolWithGlobalValueBase(), llvm::RISCVMCObjectFileInfo::getTextSectionAlignment(), llvm::RISCVELFTargetObjectFile::getTextSectionAlignment(), llvm::TargetLoweringObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileELF::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileMachO::getTTypeGlobalReference(), llvm::AArch64_MachoTargetObjectFile::getTTypeGlobalReference(), llvm::ARMElfTargetObjectFile::getTTypeGlobalReference(), llvm::SparcELFTargetObjectFile::getTTypeGlobalReference(), llvm::X86_64MachoTargetObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFile::getTTypeReference(), llvm::TargetLoweringObjectFileELF::getUniqueSectionForFunction(), llvm::HexagonTargetObjectFile::Initialize(), llvm::LanaiTargetObjectFile::Initialize(), llvm::M68kELFTargetObjectFile::Initialize(), llvm::MipsTargetObjectFile::Initialize(), llvm::RISCVELFTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileELF::InitializeELF(), llvm::TargetLoweringObjectFileWasm::InitializeWasm(), llvm::TargetLoweringObjectFileELF::lowerDSOLocalEquivalent(), llvm::TargetLoweringObjectFileELF::lowerRelativeReference(), llvm::TargetLoweringObjectFileCOFF::lowerRelativeReference(), llvm::TargetLoweringObjectFileWasm::lowerRelativeReference(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), llvm::R600AsmPrinter::runOnMachineFunction(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileWasm::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal(), llvm::AVRTargetObjectFile::SelectSectionForGlobal(), and llvm::RISCVELFTargetObjectFile::SelectSectionForGlobal().

getCStringSection()

const MCSection * llvm::MCObjectFileInfo::getCStringSection ( ) const inline

getDataBSSSection()

MCSection * llvm::MCObjectFileInfo::getDataBSSSection ( ) const inline

getDataCoalSection()

const MCSection * llvm::MCObjectFileInfo::getDataCoalSection ( ) const inline

getDataCommonSection()

const MCSection * llvm::MCObjectFileInfo::getDataCommonSection ( ) const inline

getDataRelROSection()

MCSection * llvm::MCObjectFileInfo::getDataRelROSection ( ) const inline

getDataSection()

MCSection * llvm::MCObjectFileInfo::getDataSection ( ) const inline

getDrectveSection()

MCSection * llvm::MCObjectFileInfo::getDrectveSection ( ) const inline

getDwarfAbbrevDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAbbrevDWOSection ( ) const inline

getDwarfAbbrevSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAbbrevSection ( ) const inline

getDwarfAccelNamespaceSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAccelNamespaceSection ( ) const inline

getDwarfAccelNamesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAccelNamesSection ( ) const inline

getDwarfAccelObjCSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAccelObjCSection ( ) const inline

getDwarfAccelTypesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAccelTypesSection ( ) const inline

getDwarfAddrSection()

MCSection * llvm::MCObjectFileInfo::getDwarfAddrSection ( ) const inline

getDwarfARangesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfARangesSection ( ) const inline

getDwarfCUIndexSection()

MCSection * llvm::MCObjectFileInfo::getDwarfCUIndexSection ( ) const inline

getDwarfDebugInlineSection()

const MCSection * llvm::MCObjectFileInfo::getDwarfDebugInlineSection ( ) const inline

getDwarfDebugNamesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfDebugNamesSection ( ) const inline

getDwarfFrameSection()

MCSection * llvm::MCObjectFileInfo::getDwarfFrameSection ( ) const inline

getDwarfGnuPubNamesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfGnuPubNamesSection ( ) const inline

getDwarfGnuPubTypesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfGnuPubTypesSection ( ) const inline

getDwarfInfoDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfInfoDWOSection ( ) const inline

getDwarfInfoSection() [1/2]

MCSection * llvm::MCObjectFileInfo::getDwarfInfoSection ( ) const inline

getDwarfInfoSection() [2/2]

MCSection * llvm::MCObjectFileInfo::getDwarfInfoSection ( uint64_t Hash) const inline

getDwarfLineDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLineDWOSection ( ) const inline

getDwarfLineSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLineSection ( ) const inline

getDwarfLineStrSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLineStrSection ( ) const inline

getDwarfLocDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLocDWOSection ( ) const inline

getDwarfLoclistsDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLoclistsDWOSection ( ) const inline

getDwarfLoclistsSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLoclistsSection ( ) const inline

getDwarfLocSection()

MCSection * llvm::MCObjectFileInfo::getDwarfLocSection ( ) const inline

getDwarfMacinfoDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfMacinfoDWOSection ( ) const inline

getDwarfMacinfoSection()

MCSection * llvm::MCObjectFileInfo::getDwarfMacinfoSection ( ) const inline

getDwarfMacroDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfMacroDWOSection ( ) const inline

getDwarfMacroSection()

MCSection * llvm::MCObjectFileInfo::getDwarfMacroSection ( ) const inline

getDwarfPubNamesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfPubNamesSection ( ) const inline

getDwarfPubTypesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfPubTypesSection ( ) const inline

getDwarfRangesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfRangesSection ( ) const inline

getDwarfRnglistsDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfRnglistsDWOSection ( ) const inline

getDwarfRnglistsSection()

MCSection * llvm::MCObjectFileInfo::getDwarfRnglistsSection ( ) const inline

getDwarfStrDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfStrDWOSection ( ) const inline

getDwarfStrOffDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfStrOffDWOSection ( ) const inline

getDwarfStrOffSection()

MCSection * llvm::MCObjectFileInfo::getDwarfStrOffSection ( ) const inline

getDwarfStrSection()

MCSection * llvm::MCObjectFileInfo::getDwarfStrSection ( ) const inline

getDwarfSwiftASTSection()

MCSection * llvm::MCObjectFileInfo::getDwarfSwiftASTSection ( ) const inline

getDwarfTUIndexSection()

MCSection * llvm::MCObjectFileInfo::getDwarfTUIndexSection ( ) const inline

getDwarfTypesDWOSection()

MCSection * llvm::MCObjectFileInfo::getDwarfTypesDWOSection ( ) const inline

getDwarfTypesSection()

MCSection * llvm::MCObjectFileInfo::getDwarfTypesSection ( uint64_t Hash) const inline

getEHFrameSection()

MCSection * llvm::MCObjectFileInfo::getEHFrameSection ( ) const inline

getEightByteConstantSection()

const MCSection * llvm::MCObjectFileInfo::getEightByteConstantSection ( ) const inline

getFaultMapSection()

MCSection * llvm::MCObjectFileInfo::getFaultMapSection ( ) const inline

getFDEEncoding()

unsigned llvm::MCObjectFileInfo::getFDEEncoding ( ) const inline

getFourByteConstantSection()

const MCSection * llvm::MCObjectFileInfo::getFourByteConstantSection ( ) const inline

getGEHContSection()

MCSection * llvm::MCObjectFileInfo::getGEHContSection ( ) const inline

getGFIDsSection()

MCSection * llvm::MCObjectFileInfo::getGFIDsSection ( ) const inline

getGIATsSection()

MCSection * llvm::MCObjectFileInfo::getGIATsSection ( ) const inline

getGLJMPSection()

MCSection * llvm::MCObjectFileInfo::getGLJMPSection ( ) const inline

getIDRLSection()

MCSection * llvm::MCObjectFileInfo::getIDRLSection ( ) const inline

getImportCallSection()

MCSection * llvm::MCObjectFileInfo::getImportCallSection ( ) const inline

getKCFITrapSection()

getLazySymbolPointerSection()

MCSection * llvm::MCObjectFileInfo::getLazySymbolPointerSection ( ) const inline

getLLVMStatsSection()

MCSection * MCObjectFileInfo::getLLVMStatsSection ( ) const

getLSDASection()

MCSection * llvm::MCObjectFileInfo::getLSDASection ( ) const inline

getMergeableConst16Section()

const MCSection * llvm::MCObjectFileInfo::getMergeableConst16Section ( ) const inline

getMergeableConst32Section()

const MCSection * llvm::MCObjectFileInfo::getMergeableConst32Section ( ) const inline

getMergeableConst4Section()

const MCSection * llvm::MCObjectFileInfo::getMergeableConst4Section ( ) const inline

getMergeableConst8Section()

const MCSection * llvm::MCObjectFileInfo::getMergeableConst8Section ( ) const inline

getNonLazySymbolPointerSection()

MCSection * llvm::MCObjectFileInfo::getNonLazySymbolPointerSection ( ) const inline

getOmitDwarfIfHaveCompactUnwind()

bool llvm::MCObjectFileInfo::getOmitDwarfIfHaveCompactUnwind ( ) const inline

getPCSection()

Definition at line 1188 of file MCObjectFileInfo.cpp.

References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCContext::getObjectFileType(), getTextSection(), llvm::MCContext::IsELF, Name, llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHF_WRITE, and llvm::ELF::SHT_PROGBITS.

Referenced by llvm::AsmPrinter::emitPCSections().

getPDataSection()

MCSection * llvm::MCObjectFileInfo::getPDataSection ( ) const inline

getPPA1Section()

MCSection * llvm::MCObjectFileInfo::getPPA1Section ( ) const inline

getPPA2ListSection()

MCSection * llvm::MCObjectFileInfo::getPPA2ListSection ( ) const inline

getPPA2Section()

MCSection * llvm::MCObjectFileInfo::getPPA2Section ( ) const inline

getPseudoProbeDescSection()

getPseudoProbeSection()

getReadOnlySection()

MCSection * llvm::MCObjectFileInfo::getReadOnlySection ( ) const inline

getRemarksSection()

MCSection * llvm::MCObjectFileInfo::getRemarksSection ( ) const inline

getSixteenByteConstantSection()

const MCSection * llvm::MCObjectFileInfo::getSixteenByteConstantSection ( ) const inline

getStackMapSection()

MCSection * llvm::MCObjectFileInfo::getStackMapSection ( ) const inline

getStackSizesSection()

Definition at line 1085 of file MCObjectFileInfo.cpp.

References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::MCContext::getObjectFileType(), llvm::MCContext::getTargetTriple(), llvm::MCSectionELF::getUniqueID(), llvm::MCContext::IsELF, llvm::Triple::isPS4(), llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHT_PROGBITS, and StackSizesSection.

Referenced by llvm::AsmPrinter::emitStackSizeSection().

getSupportsCompactUnwindWithoutEHFrame()

bool llvm::MCObjectFileInfo::getSupportsCompactUnwindWithoutEHFrame ( ) const inline

getSupportsWeakOmittedEHFrame()

bool llvm::MCObjectFileInfo::getSupportsWeakOmittedEHFrame ( ) const inline

getSwift5ReflectionSection()

getSXDataSection()

MCSection * llvm::MCObjectFileInfo::getSXDataSection ( ) const inline

getTextCoalSection()

MCSection * llvm::MCObjectFileInfo::getTextCoalSection ( ) const inline

getTextSection()

MCSection * llvm::MCObjectFileInfo::getTextSection ( ) const inline

getTextSectionAlignment()

virtual unsigned llvm::MCObjectFileInfo::getTextSectionAlignment ( ) const inlinevirtual

getThreadLocalPointerSection()

MCSection * llvm::MCObjectFileInfo::getThreadLocalPointerSection ( ) const inline

getTLSBSSSection()

MCSection * llvm::MCObjectFileInfo::getTLSBSSSection ( ) const inline

getTLSDataSection()

const MCSection * llvm::MCObjectFileInfo::getTLSDataSection ( ) const inline

getTLSExtraDataSection()

MCSection * llvm::MCObjectFileInfo::getTLSExtraDataSection ( ) const inline

getTLSThreadInitSection()

const MCSection * llvm::MCObjectFileInfo::getTLSThreadInitSection ( ) const inline

getTLSTLVSection()

const MCSection * llvm::MCObjectFileInfo::getTLSTLVSection ( ) const inline

getTOCBaseSection()

MCSection * llvm::MCObjectFileInfo::getTOCBaseSection ( ) const inline

getUStringSection()

const MCSection * llvm::MCObjectFileInfo::getUStringSection ( ) const inline

getXDataSection()

MCSection * llvm::MCObjectFileInfo::getXDataSection ( ) const inline

initMCObjectFileInfo()

void MCObjectFileInfo::initMCObjectFileInfo ( MCContext & MCCtx,
bool PIC,
bool LargeCodeModel = false
)

Definition at line 1011 of file MCObjectFileInfo.cpp.

References CompactUnwindDwarfEHFrameOnly, CompactUnwindSection, llvm::dwarf::DW_EH_PE_absptr, DwarfAccelNamespaceSection, DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelTypesSection, EHFrameSection, FDECFIEncoding, llvm::MCContext::getObjectFileType(), llvm::MCContext::getTargetTriple(), llvm::MCContext::IsCOFF, llvm::MCContext::IsDXContainer, llvm::MCContext::IsELF, llvm::MCContext::IsGOFF, llvm::MCContext::IsMachO, llvm::MCContext::IsSPIRV, llvm::MCContext::IsWasm, llvm::MCContext::IsXCOFF, OmitDwarfIfHaveCompactUnwind, PIC, SupportsCompactUnwindWithoutEHFrame, and SupportsWeakOmittedEHFrame.

Referenced by llvm::Target::createMCObjectFileInfo(), createRISCVMCObjectFileInfo(), and llvm::TargetLoweringObjectFile::Initialize().

isPositionIndependent()

bool llvm::MCObjectFileInfo::isPositionIndependent ( ) const inline

ADASection

MCSection* llvm::MCObjectFileInfo::ADASection = nullptr protected

AddrSigSection

MCSection* llvm::MCObjectFileInfo::AddrSigSection = nullptr protected

BSSSection

MCSection* llvm::MCObjectFileInfo::BSSSection = nullptr protected

COFFDebugSymbolsSection

MCSection* llvm::MCObjectFileInfo::COFFDebugSymbolsSection = nullptr protected

COFFDebugTypesSection

MCSection* llvm::MCObjectFileInfo::COFFDebugTypesSection = nullptr protected

COFFGlobalTypeHashesSection

MCSection* llvm::MCObjectFileInfo::COFFGlobalTypeHashesSection = nullptr protected

CompactUnwindDwarfEHFrameOnly

unsigned llvm::MCObjectFileInfo::CompactUnwindDwarfEHFrameOnly = 0 protected

CompactUnwindSection

MCSection* llvm::MCObjectFileInfo::CompactUnwindSection = nullptr protected

ConstDataCoalSection

MCSection* llvm::MCObjectFileInfo::ConstDataCoalSection = nullptr protected

ConstDataSection

MCSection* llvm::MCObjectFileInfo::ConstDataSection = nullptr protected

ConstTextCoalSection

MCSection* llvm::MCObjectFileInfo::ConstTextCoalSection = nullptr protected

CStringSection

MCSection* llvm::MCObjectFileInfo::CStringSection = nullptr protected

DataBSSSection

MCSection* llvm::MCObjectFileInfo::DataBSSSection = nullptr protected

DataCoalSection

MCSection* llvm::MCObjectFileInfo::DataCoalSection = nullptr protected

DataCommonSection

MCSection* llvm::MCObjectFileInfo::DataCommonSection = nullptr protected

DataRelROSection

MCSection* llvm::MCObjectFileInfo::DataRelROSection = nullptr protected

DataSection

MCSection* llvm::MCObjectFileInfo::DataSection = nullptr protected

DrectveSection

MCSection* llvm::MCObjectFileInfo::DrectveSection = nullptr protected

DwarfAbbrevDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfAbbrevDWOSection = nullptr protected

DwarfAbbrevSection

MCSection* llvm::MCObjectFileInfo::DwarfAbbrevSection = nullptr protected

DwarfAccelNamespaceSection

MCSection* llvm::MCObjectFileInfo::DwarfAccelNamespaceSection = nullptr protected

DwarfAccelNamesSection

MCSection* llvm::MCObjectFileInfo::DwarfAccelNamesSection = nullptr protected

DwarfAccelObjCSection

MCSection* llvm::MCObjectFileInfo::DwarfAccelObjCSection = nullptr protected

DwarfAccelTypesSection

MCSection* llvm::MCObjectFileInfo::DwarfAccelTypesSection = nullptr protected

DwarfAddrSection

MCSection* llvm::MCObjectFileInfo::DwarfAddrSection = nullptr protected

DwarfARangesSection

MCSection* llvm::MCObjectFileInfo::DwarfARangesSection = nullptr protected

DwarfCUIndexSection

MCSection* llvm::MCObjectFileInfo::DwarfCUIndexSection = nullptr protected

DwarfDebugInlineSection

const MCSection* llvm::MCObjectFileInfo::DwarfDebugInlineSection = nullptr protected

DwarfDebugNamesSection

MCSection* llvm::MCObjectFileInfo::DwarfDebugNamesSection = nullptr protected

Accelerator table sections.

DwarfDebugNamesSection is the DWARF v5 accelerator table, while DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelNamespaceSection, DwarfAccelTypesSection are pre-DWARF v5 extensions.

Definition at line 103 of file MCObjectFileInfo.h.

Referenced by getDwarfDebugNamesSection().

DwarfFrameSection

MCSection* llvm::MCObjectFileInfo::DwarfFrameSection = nullptr protected

DwarfGnuPubNamesSection

MCSection* llvm::MCObjectFileInfo::DwarfGnuPubNamesSection = nullptr protected

DwarfGnuPubTypesSection

MCSection* llvm::MCObjectFileInfo::DwarfGnuPubTypesSection = nullptr protected

DwarfInfoDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfInfoDWOSection = nullptr protected

DwarfInfoSection

MCSection* llvm::MCObjectFileInfo::DwarfInfoSection = nullptr protected

DwarfLineDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfLineDWOSection = nullptr protected

DwarfLineSection

MCSection* llvm::MCObjectFileInfo::DwarfLineSection = nullptr protected

DwarfLineStrSection

MCSection* llvm::MCObjectFileInfo::DwarfLineStrSection = nullptr protected

DwarfLocDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfLocDWOSection = nullptr protected

DwarfLoclistsDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfLoclistsDWOSection = nullptr protected

DwarfLoclistsSection

MCSection* llvm::MCObjectFileInfo::DwarfLoclistsSection = nullptr protected

DwarfLocSection

MCSection* llvm::MCObjectFileInfo::DwarfLocSection = nullptr protected

DwarfMacinfoDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfMacinfoDWOSection = nullptr protected

DwarfMacinfoSection

MCSection* llvm::MCObjectFileInfo::DwarfMacinfoSection = nullptr protected

DwarfMacroDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfMacroDWOSection = nullptr protected

DwarfMacroSection

MCSection* llvm::MCObjectFileInfo::DwarfMacroSection = nullptr protected

DwarfPubNamesSection

MCSection* llvm::MCObjectFileInfo::DwarfPubNamesSection = nullptr protected

DwarfPubTypesSection

MCSection* llvm::MCObjectFileInfo::DwarfPubTypesSection = nullptr protected

DwarfRangesSection

MCSection* llvm::MCObjectFileInfo::DwarfRangesSection = nullptr protected

DwarfRnglistsDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfRnglistsDWOSection = nullptr protected

DwarfRnglistsSection

MCSection* llvm::MCObjectFileInfo::DwarfRnglistsSection = nullptr protected

DwarfStrDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfStrDWOSection = nullptr protected

DwarfStrOffDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfStrOffDWOSection = nullptr protected

DwarfStrOffSection

MCSection* llvm::MCObjectFileInfo::DwarfStrOffSection = nullptr protected

DwarfStrSection

MCSection* llvm::MCObjectFileInfo::DwarfStrSection = nullptr protected

DwarfSwiftASTSection

MCSection* llvm::MCObjectFileInfo::DwarfSwiftASTSection = nullptr protected

DwarfTUIndexSection

MCSection* llvm::MCObjectFileInfo::DwarfTUIndexSection = nullptr protected

DwarfTypesDWOSection

MCSection* llvm::MCObjectFileInfo::DwarfTypesDWOSection = nullptr protected

EHFrameSection

MCSection* llvm::MCObjectFileInfo::EHFrameSection = nullptr protected

EightByteConstantSection

MCSection* llvm::MCObjectFileInfo::EightByteConstantSection = nullptr protected

FaultMapSection

MCSection* llvm::MCObjectFileInfo::FaultMapSection = nullptr protected

FDECFIEncoding

unsigned llvm::MCObjectFileInfo::FDECFIEncoding = 0 protected

FDE CFI encoding.

Controls the encoding of the begin label in the .eh_frame section. Unlike the LSDA encoding, personality encoding, and type encodings, this is something that the assembler just "knows" about its target

Definition at line 47 of file MCObjectFileInfo.h.

Referenced by getFDEEncoding(), and initMCObjectFileInfo().

FourByteConstantSection

MCSection* llvm::MCObjectFileInfo::FourByteConstantSection = nullptr protected

GEHContSection

MCSection* llvm::MCObjectFileInfo::GEHContSection = nullptr protected

GFIDsSection

MCSection* llvm::MCObjectFileInfo::GFIDsSection = nullptr protected

GIATsSection

MCSection* llvm::MCObjectFileInfo::GIATsSection = nullptr protected

GLJMPSection

MCSection* llvm::MCObjectFileInfo::GLJMPSection = nullptr protected

IDRLSection

MCSection* llvm::MCObjectFileInfo::IDRLSection = nullptr protected

ImportCallSection

MCSection* llvm::MCObjectFileInfo::ImportCallSection = nullptr protected

LazySymbolPointerSection

MCSection* llvm::MCObjectFileInfo::LazySymbolPointerSection = nullptr protected

LLVMStatsSection

MCSection* llvm::MCObjectFileInfo::LLVMStatsSection = nullptr protected

LSDASection

MCSection* llvm::MCObjectFileInfo::LSDASection = nullptr protected

MergeableConst16Section

MCSection* llvm::MCObjectFileInfo::MergeableConst16Section = nullptr protected

MergeableConst32Section

MCSection* llvm::MCObjectFileInfo::MergeableConst32Section = nullptr protected

MergeableConst4Section

MCSection* llvm::MCObjectFileInfo::MergeableConst4Section = nullptr protected

MergeableConst8Section

MCSection* llvm::MCObjectFileInfo::MergeableConst8Section = nullptr protected

NonLazySymbolPointerSection

MCSection* llvm::MCObjectFileInfo::NonLazySymbolPointerSection = nullptr protected

OmitDwarfIfHaveCompactUnwind

bool llvm::MCObjectFileInfo::OmitDwarfIfHaveCompactUnwind = false protected

PDataSection

MCSection* llvm::MCObjectFileInfo::PDataSection = nullptr protected

PPA1Section

MCSection* llvm::MCObjectFileInfo::PPA1Section = nullptr protected

PPA2ListSection

MCSection* llvm::MCObjectFileInfo::PPA2ListSection = nullptr protected

PPA2Section

MCSection* llvm::MCObjectFileInfo::PPA2Section = nullptr protected

PseudoProbeDescSection

MCSection* llvm::MCObjectFileInfo::PseudoProbeDescSection = nullptr protected

PseudoProbeSection

MCSection* llvm::MCObjectFileInfo::PseudoProbeSection = nullptr protected

ReadOnly16Section

MCSection* llvm::MCObjectFileInfo::ReadOnly16Section = nullptr protected

ReadOnly8Section

MCSection* llvm::MCObjectFileInfo::ReadOnly8Section = nullptr protected

ReadOnlySection

MCSection* llvm::MCObjectFileInfo::ReadOnlySection = nullptr protected

Section that is readonly and can contain arbitrary initialized data.

Targets are not required to have a readonly section. If they don't, various bits of code will fall back to using the data section for constants.

Definition at line 65 of file MCObjectFileInfo.h.

Referenced by getReadOnlySection(), llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForConstant(), llvm::NVPTXTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().

RemarksSection

MCSection* llvm::MCObjectFileInfo::RemarksSection = nullptr protected

SixteenByteConstantSection

MCSection* llvm::MCObjectFileInfo::SixteenByteConstantSection = nullptr protected

StackMapSection

MCSection* llvm::MCObjectFileInfo::StackMapSection = nullptr protected

StackSizesSection

MCSection* llvm::MCObjectFileInfo::StackSizesSection = nullptr protected

SupportsCompactUnwindWithoutEHFrame

bool llvm::MCObjectFileInfo::SupportsCompactUnwindWithoutEHFrame = false protected

SupportsWeakOmittedEHFrame

bool llvm::MCObjectFileInfo::SupportsWeakOmittedEHFrame = false protected

Swift5ReflectionSections

SXDataSection

MCSection* llvm::MCObjectFileInfo::SXDataSection = nullptr protected

TextCoalSection

MCSection* llvm::MCObjectFileInfo::TextCoalSection = nullptr protected

TextSection

MCSection* llvm::MCObjectFileInfo::TextSection = nullptr protected

ThreadLocalPointerSection

MCSection* llvm::MCObjectFileInfo::ThreadLocalPointerSection = nullptr protected

TLSBSSSection

MCSection* llvm::MCObjectFileInfo::TLSBSSSection = nullptr protected

TLSDataSection

MCSection* llvm::MCObjectFileInfo::TLSDataSection = nullptr protected

TLSExtraDataSection

MCSection* llvm::MCObjectFileInfo::TLSExtraDataSection = nullptr protected

TLSThreadInitSection

const MCSection* llvm::MCObjectFileInfo::TLSThreadInitSection = nullptr protected

TLSTLVSection

MCSection* llvm::MCObjectFileInfo::TLSTLVSection = nullptr protected

Section for thread local structure information.

Contains the source code name of the variable, visibility and a pointer to the initial value (.tdata or .tbss).

Definition at line 199 of file MCObjectFileInfo.h.

Referenced by getTLSTLVSection().

TOCBaseSection

MCSection* llvm::MCObjectFileInfo::TOCBaseSection = nullptr protected

UStringSection

MCSection* llvm::MCObjectFileInfo::UStringSection = nullptr protected

XDataSection

MCSection* llvm::MCObjectFileInfo::XDataSection = nullptr protected

The documentation for this class was generated from the following files: