LLVM 22.0.0git
llvm::MCObjectFileInfo Class Reference

#include "llvm/MC/MCObjectFileInfo.h"

Inheritance diagram for llvm::MCObjectFileInfo:
[legend]

Public Member Functions

void initMCObjectFileInfo (MCContext &MCCtx, bool PIC, bool LargeCodeModel=false)
virtual ~MCObjectFileInfo ()
MCContextgetContext () const
bool getSupportsWeakOmittedEHFrame () const
bool getSupportsCompactUnwindWithoutEHFrame () const
bool getOmitDwarfIfHaveCompactUnwind () const
unsigned getFDEEncoding () const
unsigned getCompactUnwindDwarfEHFrameOnly () const
std::optional< sframe::ABIgetSFrameABIArch () const
virtual unsigned getTextSectionAlignment () const
MCSectiongetTextSection () const
MCSectiongetDataSection () const
MCSectiongetBSSSection () const
MCSectiongetReadOnlySection () const
MCSectiongetLSDASection () const
MCSectiongetImportCallSection () const
MCSectiongetCompactUnwindSection () const
MCSectiongetDwarfAbbrevSection () const
MCSectiongetDwarfInfoSection () const
MCSectiongetDwarfInfoSection (uint64_t Hash) const
MCSectiongetDwarfLineSection () const
MCSectiongetDwarfLineStrSection () const
MCSectiongetDwarfFrameSection () const
MCSectiongetDwarfPubNamesSection () const
MCSectiongetDwarfPubTypesSection () const
MCSectiongetDwarfGnuPubNamesSection () const
MCSectiongetDwarfGnuPubTypesSection () const
const MCSectiongetDwarfDebugInlineSection () const
MCSectiongetDwarfStrSection () const
MCSectiongetDwarfLocSection () const
MCSectiongetDwarfARangesSection () const
MCSectiongetDwarfRangesSection () const
MCSectiongetDwarfRnglistsSection () const
MCSectiongetDwarfLoclistsSection () const
MCSectiongetDwarfMacinfoSection () const
MCSectiongetDwarfMacroSection () const
MCSectiongetDwarfDebugNamesSection () const
MCSectiongetDwarfAccelNamesSection () const
MCSectiongetDwarfAccelObjCSection () const
MCSectiongetDwarfAccelNamespaceSection () const
MCSectiongetDwarfAccelTypesSection () const
MCSectiongetDwarfInfoDWOSection () const
MCSectiongetDwarfTypesSection (uint64_t Hash) const
MCSectiongetDwarfTypesDWOSection () const
MCSectiongetDwarfAbbrevDWOSection () const
MCSectiongetDwarfStrDWOSection () const
MCSectiongetDwarfLineDWOSection () const
MCSectiongetDwarfLocDWOSection () const
MCSectiongetDwarfStrOffDWOSection () const
MCSectiongetDwarfStrOffSection () const
MCSectiongetDwarfAddrSection () const
MCSectiongetDwarfRnglistsDWOSection () const
MCSectiongetDwarfLoclistsDWOSection () const
MCSectiongetDwarfMacroDWOSection () const
MCSectiongetDwarfMacinfoDWOSection () const
MCSectiongetDwarfCUIndexSection () const
MCSectiongetDwarfTUIndexSection () const
MCSectiongetDwarfSwiftASTSection () const
MCSectiongetCOFFDebugSymbolsSection () const
MCSectiongetCOFFDebugTypesSection () const
MCSectiongetCOFFGlobalTypeHashesSection () const
MCSectiongetTLSExtraDataSection () const
const MCSectiongetTLSDataSection () const
MCSectiongetTLSBSSSection () const
MCSectiongetStackMapSection () const
MCSectiongetFaultMapSection () const
MCSectiongetRemarksSection () const
MCSectiongetCallGraphSection (const MCSection &TextSec) const
MCSectiongetStackSizesSection (const MCSection &TextSec) const
MCSectiongetBBAddrMapSection (const MCSection &TextSec) const
MCSectiongetKCFITrapSection (const MCSection &TextSec) const
MCSectiongetPseudoProbeSection (const MCSection &TextSec) const
MCSectiongetPseudoProbeDescSection (StringRef FuncName) const
MCSectiongetLLVMStatsSection () const
MCSectiongetPCSection (StringRef Name, const MCSection *TextSec) const
MCSectiongetDataRelROSection () const
const MCSectiongetMergeableConst4Section () const
const MCSectiongetMergeableConst8Section () const
const MCSectiongetMergeableConst16Section () const
const MCSectiongetMergeableConst32Section () const
const MCSectiongetTLSTLVSection () const
const MCSectiongetTLSThreadInitSection () const
const MCSectiongetCStringSection () const
const MCSectiongetUStringSection () const
MCSectiongetTextCoalSection () const
const MCSectiongetConstTextCoalSection () const
const MCSectiongetConstDataSection () const
const MCSectiongetDataCoalSection () const
const MCSectiongetConstDataCoalSection () const
const MCSectiongetDataCommonSection () const
MCSectiongetDataBSSSection () const
const MCSectiongetFourByteConstantSection () const
const MCSectiongetEightByteConstantSection () const
const MCSectiongetSixteenByteConstantSection () const
MCSectiongetLazySymbolPointerSection () const
MCSectiongetNonLazySymbolPointerSection () const
MCSectiongetThreadLocalPointerSection () const
MCSectiongetAddrSigSection () const
MCSectiongetDrectveSection () const
MCSectiongetPDataSection () const
MCSectiongetXDataSection () const
MCSectiongetSXDataSection () const
MCSectiongetGEHContSection () const
MCSectiongetGFIDsSection () const
MCSectiongetGIATsSection () const
MCSectiongetGLJMPSection () const
MCSectiongetPPA2ListSection () const
MCSectiongetADASection () const
MCSectiongetIDRLSection () const
MCSectiongetTOCBaseSection () const
MCSectiongetEHFrameSection () const
MCSectiongetSFrameSection () const
bool isPositionIndependent () const
MCSectiongetSwift5ReflectionSection (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.
std::optional< sframe::ABISFrameABIArch = {}
 SFrame ABI architecture byte.
MCSectionTextSection = nullptr
 Section directive for standard text.
MCSectionDataSection = nullptr
 Section directive for standard data.
MCSectionBSSSection = nullptr
 Section that is default initialized to zero.
MCSectionReadOnlySection = nullptr
 Section that is readonly and can contain arbitrary initialized data.
MCSectionLSDASection = nullptr
 If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to.
MCSectionCallGraphSection = nullptr
 Section containing call graph metadata.
MCSectionCompactUnwindSection = 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.
MCSectionImportCallSection = nullptr
 If import call optimization is supported by the target, this is the section to emit import call data to.
MCSectionDwarfAbbrevSection = nullptr
MCSectionDwarfInfoSection = nullptr
MCSectionDwarfLineSection = nullptr
MCSectionDwarfLineStrSection = nullptr
MCSectionDwarfFrameSection = nullptr
MCSectionDwarfPubTypesSection = nullptr
const MCSectionDwarfDebugInlineSection = nullptr
MCSectionDwarfStrSection = nullptr
MCSectionDwarfLocSection = nullptr
MCSectionDwarfARangesSection = nullptr
MCSectionDwarfRangesSection = nullptr
MCSectionDwarfMacinfoSection = nullptr
MCSectionDwarfMacroSection = nullptr
MCSectionDwarfPubNamesSection = nullptr
MCSectionDwarfDebugNamesSection = nullptr
 Accelerator table sections.
MCSectionDwarfAccelNamesSection = nullptr
MCSectionDwarfAccelObjCSection = nullptr
MCSectionDwarfAccelNamespaceSection = nullptr
MCSectionDwarfAccelTypesSection = nullptr
MCSectionDwarfInfoDWOSection = nullptr
MCSectionDwarfTypesDWOSection = nullptr
MCSectionDwarfAbbrevDWOSection = nullptr
MCSectionDwarfStrDWOSection = nullptr
MCSectionDwarfLineDWOSection = nullptr
MCSectionDwarfLocDWOSection = nullptr
MCSectionDwarfStrOffDWOSection = nullptr
MCSectionDwarfMacinfoDWOSection = nullptr
MCSectionDwarfMacroDWOSection = nullptr
MCSectionDwarfStrOffSection = nullptr
 The DWARF v5 string offset and address table sections.
MCSectionDwarfAddrSection = nullptr
MCSectionDwarfRnglistsSection = nullptr
 The DWARF v5 range list section.
MCSectionDwarfLoclistsSection = nullptr
 The DWARF v5 locations list section.
MCSectionDwarfRnglistsDWOSection = nullptr
 The DWARF v5 range and location list sections for fission.
MCSectionDwarfLoclistsDWOSection = nullptr
MCSectionDwarfCUIndexSection = nullptr
MCSectionDwarfTUIndexSection = nullptr
MCSectionDwarfGnuPubNamesSection = nullptr
 Section for newer gnu pubnames.
MCSectionDwarfGnuPubTypesSection = nullptr
 Section for newer gnu pubtypes.
MCSectionDwarfSwiftASTSection = nullptr
MCSectionCOFFDebugSymbolsSection = nullptr
MCSectionCOFFDebugTypesSection = nullptr
MCSectionCOFFGlobalTypeHashesSection = nullptr
MCSectionTLSExtraDataSection = nullptr
 Extra TLS Variable Data section.
MCSectionTLSDataSection = nullptr
 Section directive for Thread Local data. ELF, MachO, COFF, and Wasm.
MCSectionTLSBSSSection = nullptr
 Section directive for Thread Local uninitialized data.
MCSectionStackMapSection = nullptr
 StackMap section.
MCSectionFaultMapSection = nullptr
 FaultMap section.
MCSectionRemarksSection = nullptr
 Remarks section.
MCSectionEHFrameSection = nullptr
 EH frame section.
MCSectionSFrameSection = nullptr
 SFrame section.
MCSectionStackSizesSection = nullptr
 Section containing metadata on function stack sizes.
MCSectionPseudoProbeSection = nullptr
 Section for pseudo probe information used by AutoFDO.
MCSectionPseudoProbeDescSection = nullptr
MCSectionLLVMStatsSection = nullptr
MCSectionDataRelROSection = nullptr
MCSectionMergeableConst4Section = nullptr
MCSectionMergeableConst8Section = nullptr
MCSectionMergeableConst16Section = nullptr
MCSectionMergeableConst32Section = nullptr
MCSectionTLSTLVSection = nullptr
 Section for thread local structure information.
const MCSectionTLSThreadInitSection = nullptr
 Section for thread local data initialization functions.
MCSectionCStringSection = nullptr
MCSectionUStringSection = nullptr
MCSectionTextCoalSection = nullptr
MCSectionConstTextCoalSection = nullptr
MCSectionConstDataSection = nullptr
MCSectionDataCoalSection = nullptr
MCSectionConstDataCoalSection = nullptr
MCSectionDataCommonSection = nullptr
MCSectionDataBSSSection = nullptr
MCSectionFourByteConstantSection = nullptr
MCSectionEightByteConstantSection = nullptr
MCSectionSixteenByteConstantSection = nullptr
MCSectionLazySymbolPointerSection = nullptr
MCSectionNonLazySymbolPointerSection = nullptr
MCSectionThreadLocalPointerSection = nullptr
MCSectionAddrSigSection = nullptr
MCSectionDrectveSection = nullptr
 COFF specific sections.
MCSectionPDataSection = nullptr
MCSectionXDataSection = nullptr
MCSectionSXDataSection = nullptr
MCSectionGEHContSection = nullptr
MCSectionGFIDsSection = nullptr
MCSectionGIATsSection = nullptr
MCSectionGLJMPSection = nullptr
MCSectionPPA2ListSection = nullptr
MCSectionADASection = nullptr
MCSectionIDRLSection = nullptr
MCSectionTOCBaseSection = nullptr
MCSectionReadOnly8Section = nullptr
MCSectionReadOnly16Section = nullptr
std::array< MCSection *, binaryformat::Swift5ReflectionSectionKind::lastSwift5ReflectionSections = {}

Detailed Description

Definition at line 30 of file MCObjectFileInfo.h.

Constructor & Destructor Documentation

◆ ~MCObjectFileInfo()

MCObjectFileInfo::~MCObjectFileInfo ( )
virtualdefault

Member Function Documentation

◆ getADASection()

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

Definition at line 454 of file MCObjectFileInfo.h.

References ADASection.

◆ getAddrSigSection()

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

Definition at line 440 of file MCObjectFileInfo.h.

References AddrSigSection.

Referenced by llvm::MachObjectWriter::populateAddrSigSection().

◆ getBBAddrMapSection()

◆ getBSSSection()

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

◆ getCallGraphSection()

◆ getCOFFDebugSymbolsSection()

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

Definition at line 355 of file MCObjectFileInfo.h.

References COFFDebugSymbolsSection.

◆ getCOFFDebugTypesSection()

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

Definition at line 358 of file MCObjectFileInfo.h.

References COFFDebugTypesSection.

◆ getCOFFGlobalTypeHashesSection()

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

Definition at line 361 of file MCObjectFileInfo.h.

References COFFGlobalTypeHashesSection.

◆ getCompactUnwindDwarfEHFrameOnly()

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

Definition at line 275 of file MCObjectFileInfo.h.

References CompactUnwindDwarfEHFrameOnly.

Referenced by llvm::MCDwarfFrameEmitter::Emit().

◆ getCompactUnwindSection()

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

◆ getConstDataCoalSection()

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

Definition at line 417 of file MCObjectFileInfo.h.

References ConstDataCoalSection.

◆ getConstDataSection()

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

Definition at line 415 of file MCObjectFileInfo.h.

References ConstDataSection.

◆ getConstTextCoalSection()

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

Definition at line 412 of file MCObjectFileInfo.h.

References ConstTextCoalSection.

◆ getContext()

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

Definition at line 261 of file MCObjectFileInfo.h.

Referenced by llvm::TargetLoweringObjectFile::emitCGProfileMetadata(), llvm::TargetLoweringObjectFileCOFF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileELF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), llvm::TargetLoweringObjectFileELF::emitModuleMetadata(), llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), llvm::AArch64_ELFTargetObjectFile::emitPersonalityValueImpl(), llvm::TargetLoweringObjectFile::emitPseudoProbeDescMetadata(), llvm::AArch64_ELFTargetObjectFile::getAuthPtrSlotSymbol(), llvm::AArch64_MachoTargetObjectFile::getAuthPtrSlotSymbol(), llvm::TargetLoweringObjectFile::getCallSiteEncoding(), llvm::TargetLoweringObjectFileELF::getCFIPersonalitySymbol(), llvm::ARMElfTargetObjectFile::getDebugThreadLocalSymbol(), llvm::MipsTargetObjectFile::getDebugThreadLocalSymbol(), llvm::SystemZELFTargetObjectFile::getDebugThreadLocalSymbol(), llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol(), llvm::X86ELFTargetObjectFile::getDebugThreadLocalSymbol(), DXILTargetObjectFile::getExplicitSectionGlobal(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileWasm::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getFunctionEntryPointSymbol(), llvm::AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::RISCVELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), llvm::X86_64ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaRWPI(), llvm::TargetLoweringObjectFileGOFF::getModuleMetadata(), llvm::TargetLoweringObjectFileELF::getSectionForCommandLines(), llvm::TargetLoweringObjectFileMachO::getSectionForCommandLines(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileXCOFF::getSectionForFunctionDescriptor(), llvm::BPFTargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileELF::getSectionForMachineBasicBlock(), llvm::TargetLoweringObjectFileXCOFF::getSectionForTOCEntry(), llvm::TargetLoweringObjectFileCOFF::getStaticCtorSection(), llvm::TargetLoweringObjectFileELF::getStaticCtorSection(), llvm::TargetLoweringObjectFileWasm::getStaticCtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticDtorSection(), llvm::TargetLoweringObjectFileELF::getStaticDtorSection(), llvm::TargetMachine::getSymbol(), llvm::TargetLoweringObjectFile::getSymbolWithGlobalValueBase(), llvm::RISCVELFTargetObjectFile::getTextSectionAlignment(), llvm::RISCVMCObjectFileInfo::getTextSectionAlignment(), llvm::AArch64_MachoTargetObjectFile::getTTypeGlobalReference(), llvm::ARMElfTargetObjectFile::getTTypeGlobalReference(), llvm::SparcELFTargetObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileELF::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileMachO::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::TargetLoweringObjectFileCOFF::lowerRelativeReference(), llvm::TargetLoweringObjectFileELF::lowerSymbolDifference(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), llvm::R600AsmPrinter::runOnMachineFunction(), llvm::AVRTargetObjectFile::SelectSectionForGlobal(), llvm::RISCVELFTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileWasm::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().

◆ getCStringSection()

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

Definition at line 409 of file MCObjectFileInfo.h.

References CStringSection.

◆ getDataBSSSection()

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

Definition at line 421 of file MCObjectFileInfo.h.

References DataBSSSection.

◆ getDataCoalSection()

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

Definition at line 416 of file MCObjectFileInfo.h.

References DataCoalSection.

◆ getDataCommonSection()

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

Definition at line 420 of file MCObjectFileInfo.h.

References DataCommonSection.

◆ getDataRelROSection()

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

Definition at line 390 of file MCObjectFileInfo.h.

References DataRelROSection.

◆ getDataSection()

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

◆ getDrectveSection()

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

◆ getDwarfAbbrevDWOSection()

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

Definition at line 334 of file MCObjectFileInfo.h.

References DwarfAbbrevDWOSection.

Referenced by isDwarfSection().

◆ getDwarfAbbrevSection()

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

◆ getDwarfAccelNamespaceSection()

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

Definition at line 323 of file MCObjectFileInfo.h.

References DwarfAccelNamespaceSection.

Referenced by isDwarfSection().

◆ getDwarfAccelNamesSection()

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

Definition at line 319 of file MCObjectFileInfo.h.

References DwarfAccelNamesSection.

Referenced by isDwarfSection().

◆ getDwarfAccelObjCSection()

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

Definition at line 322 of file MCObjectFileInfo.h.

References DwarfAccelObjCSection.

Referenced by isDwarfSection().

◆ getDwarfAccelTypesSection()

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

Definition at line 326 of file MCObjectFileInfo.h.

References DwarfAccelTypesSection.

Referenced by isDwarfSection().

◆ getDwarfAddrSection()

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

Definition at line 340 of file MCObjectFileInfo.h.

References DwarfAddrSection.

Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), and isDwarfSection().

◆ getDwarfARangesSection()

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

◆ getDwarfCUIndexSection()

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

Definition at line 351 of file MCObjectFileInfo.h.

References DwarfCUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfDebugInlineSection()

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

Definition at line 304 of file MCObjectFileInfo.h.

References DwarfDebugInlineSection.

Referenced by isDwarfSection().

◆ getDwarfDebugNamesSection()

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

Definition at line 316 of file MCObjectFileInfo.h.

References DwarfDebugNamesSection.

Referenced by isDwarfSection().

◆ getDwarfFrameSection()

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

Definition at line 295 of file MCObjectFileInfo.h.

References DwarfFrameSection.

Referenced by llvm::MCDwarfFrameEmitter::Emit(), and isDwarfSection().

◆ getDwarfGnuPubNamesSection()

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

Definition at line 298 of file MCObjectFileInfo.h.

References DwarfGnuPubNamesSection.

Referenced by isDwarfSection().

◆ getDwarfGnuPubTypesSection()

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

Definition at line 301 of file MCObjectFileInfo.h.

References DwarfGnuPubTypesSection.

Referenced by isDwarfSection().

◆ getDwarfInfoDWOSection()

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

Definition at line 329 of file MCObjectFileInfo.h.

References DwarfInfoDWOSection.

Referenced by isDwarfSection().

◆ getDwarfInfoSection() [1/2]

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

Definition at line 289 of file MCObjectFileInfo.h.

References DwarfInfoSection.

Referenced by llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfInfo(), and isDwarfSection().

◆ getDwarfInfoSection() [2/2]

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

Definition at line 290 of file MCObjectFileInfo.h.

◆ getDwarfLineDWOSection()

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

Definition at line 336 of file MCObjectFileInfo.h.

References DwarfLineDWOSection.

Referenced by isDwarfSection().

◆ getDwarfLineSection()

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

◆ getDwarfLineStrSection()

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

Definition at line 294 of file MCObjectFileInfo.h.

References DwarfLineStrSection.

Referenced by llvm::MCDwarfLineStr::emitSection(), and isDwarfSection().

◆ getDwarfLocDWOSection()

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

Definition at line 337 of file MCObjectFileInfo.h.

References DwarfLocDWOSection.

Referenced by isDwarfSection().

◆ getDwarfLoclistsDWOSection()

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

Definition at line 344 of file MCObjectFileInfo.h.

References DwarfLoclistsDWOSection.

◆ getDwarfLoclistsSection()

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

Definition at line 312 of file MCObjectFileInfo.h.

References DwarfLoclistsSection.

◆ getDwarfLocSection()

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

Definition at line 308 of file MCObjectFileInfo.h.

References DwarfLocSection.

Referenced by isDwarfSection().

◆ getDwarfMacinfoDWOSection()

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

Definition at line 348 of file MCObjectFileInfo.h.

References DwarfMacinfoDWOSection.

◆ getDwarfMacinfoSection()

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

Definition at line 313 of file MCObjectFileInfo.h.

References DwarfMacinfoSection.

Referenced by isDwarfSection().

◆ getDwarfMacroDWOSection()

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

Definition at line 347 of file MCObjectFileInfo.h.

References DwarfMacroDWOSection.

◆ getDwarfMacroSection()

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

Definition at line 314 of file MCObjectFileInfo.h.

References DwarfMacroSection.

◆ getDwarfPubNamesSection()

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

Definition at line 296 of file MCObjectFileInfo.h.

References DwarfPubNamesSection.

Referenced by isDwarfSection().

◆ getDwarfPubTypesSection()

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

Definition at line 297 of file MCObjectFileInfo.h.

References DwarfPubTypesSection.

Referenced by isDwarfSection().

◆ getDwarfRangesSection()

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

◆ getDwarfRnglistsDWOSection()

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

Definition at line 341 of file MCObjectFileInfo.h.

References DwarfRnglistsDWOSection.

◆ getDwarfRnglistsSection()

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

Definition at line 311 of file MCObjectFileInfo.h.

References DwarfRnglistsSection.

Referenced by llvm::DwarfUnit::addRnglistsBase(), and emitGenDwarfRanges().

◆ getDwarfStrDWOSection()

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

Definition at line 335 of file MCObjectFileInfo.h.

References DwarfStrDWOSection.

Referenced by isDwarfSection().

◆ getDwarfStrOffDWOSection()

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

Definition at line 338 of file MCObjectFileInfo.h.

References DwarfStrOffDWOSection.

Referenced by isDwarfSection().

◆ getDwarfStrOffSection()

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

Definition at line 339 of file MCObjectFileInfo.h.

References DwarfStrOffSection.

Referenced by llvm::DwarfUnit::addStringOffsetsStart(), and isDwarfSection().

◆ getDwarfStrSection()

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

Definition at line 307 of file MCObjectFileInfo.h.

References DwarfStrSection.

Referenced by isDwarfSection().

◆ getDwarfSwiftASTSection()

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

Definition at line 353 of file MCObjectFileInfo.h.

References DwarfSwiftASTSection.

Referenced by isDwarfSection().

◆ getDwarfTUIndexSection()

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

Definition at line 352 of file MCObjectFileInfo.h.

References DwarfTUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfTypesDWOSection()

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

Definition at line 333 of file MCObjectFileInfo.h.

References DwarfTypesDWOSection.

Referenced by isDwarfSection().

◆ getDwarfTypesSection()

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

Definition at line 330 of file MCObjectFileInfo.h.

◆ getEHFrameSection()

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

Definition at line 460 of file MCObjectFileInfo.h.

References EHFrameSection.

◆ getEightByteConstantSection()

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

Definition at line 425 of file MCObjectFileInfo.h.

References EightByteConstantSection.

◆ getFaultMapSection()

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

Definition at line 370 of file MCObjectFileInfo.h.

References FaultMapSection.

Referenced by llvm::FaultMaps::serializeToFaultMapSection().

◆ getFDEEncoding()

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

Definition at line 273 of file MCObjectFileInfo.h.

References FDECFIEncoding.

◆ getFourByteConstantSection()

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

Definition at line 422 of file MCObjectFileInfo.h.

References FourByteConstantSection.

◆ getGEHContSection()

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

Definition at line 447 of file MCObjectFileInfo.h.

References GEHContSection.

◆ getGFIDsSection()

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

Definition at line 448 of file MCObjectFileInfo.h.

References GFIDsSection.

◆ getGIATsSection()

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

Definition at line 449 of file MCObjectFileInfo.h.

References GIATsSection.

◆ getGLJMPSection()

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

Definition at line 450 of file MCObjectFileInfo.h.

References GLJMPSection.

◆ getIDRLSection()

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

Definition at line 455 of file MCObjectFileInfo.h.

References IDRLSection.

◆ getImportCallSection()

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

Definition at line 286 of file MCObjectFileInfo.h.

References ImportCallSection.

◆ getKCFITrapSection()

◆ getLazySymbolPointerSection()

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

Definition at line 431 of file MCObjectFileInfo.h.

References LazySymbolPointerSection.

◆ getLLVMStatsSection()

MCSection * MCObjectFileInfo::getLLVMStatsSection ( ) const

Definition at line 1298 of file MCObjectFileInfo.cpp.

References LLVMStatsSection.

◆ getLSDASection()

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

Definition at line 285 of file MCObjectFileInfo.h.

References LSDASection.

◆ getMergeableConst16Section()

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

Definition at line 397 of file MCObjectFileInfo.h.

References MergeableConst16Section.

◆ getMergeableConst32Section()

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

Definition at line 400 of file MCObjectFileInfo.h.

References MergeableConst32Section.

◆ getMergeableConst4Section()

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

Definition at line 391 of file MCObjectFileInfo.h.

References MergeableConst4Section.

◆ getMergeableConst8Section()

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

Definition at line 394 of file MCObjectFileInfo.h.

References MergeableConst8Section.

◆ getNonLazySymbolPointerSection()

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

Definition at line 434 of file MCObjectFileInfo.h.

References NonLazySymbolPointerSection.

Referenced by llvm::ARMAsmPrinter::emitEndOfAsmFile().

◆ getOmitDwarfIfHaveCompactUnwind()

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

Definition at line 269 of file MCObjectFileInfo.h.

References OmitDwarfIfHaveCompactUnwind.

Referenced by llvm::MCDwarfFrameEmitter::Emit().

◆ getPCSection()

◆ getPDataSection()

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

Definition at line 444 of file MCObjectFileInfo.h.

References PDataSection.

◆ getPPA2ListSection()

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

Definition at line 453 of file MCObjectFileInfo.h.

References PPA2ListSection.

◆ getPseudoProbeDescSection()

◆ getPseudoProbeSection()

◆ getReadOnlySection()

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

Definition at line 284 of file MCObjectFileInfo.h.

References ReadOnlySection.

Referenced by llvm::AMDGPUAsmPrinter::emitFunctionBodyEnd().

◆ getRemarksSection()

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

Definition at line 371 of file MCObjectFileInfo.h.

References RemarksSection.

◆ getSFrameABIArch()

std::optional< sframe::ABI > llvm::MCObjectFileInfo::getSFrameABIArch ( ) const
inline

Definition at line 279 of file MCObjectFileInfo.h.

References SFrameABIArch.

Referenced by llvm::MCSFrameEmitter::emit().

◆ getSFrameSection()

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

Definition at line 461 of file MCObjectFileInfo.h.

References SFrameSection.

◆ getSixteenByteConstantSection()

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

Definition at line 428 of file MCObjectFileInfo.h.

References SixteenByteConstantSection.

◆ getStackMapSection()

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

Definition at line 369 of file MCObjectFileInfo.h.

References StackMapSection.

Referenced by llvm::StackMaps::serializeToStackMapSection().

◆ getStackSizesSection()

◆ getSupportsCompactUnwindWithoutEHFrame()

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

Definition at line 266 of file MCObjectFileInfo.h.

References SupportsCompactUnwindWithoutEHFrame.

Referenced by llvm::MCDwarfFrameEmitter::Emit().

◆ getSupportsWeakOmittedEHFrame()

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

Definition at line 263 of file MCObjectFileInfo.h.

References SupportsWeakOmittedEHFrame.

◆ getSwift5ReflectionSection()

MCSection * llvm::MCObjectFileInfo::getSwift5ReflectionSection ( llvm::binaryformat::Swift5ReflectionSectionKind ReflSectionKind)
inline

Definition at line 466 of file MCObjectFileInfo.h.

References Swift5ReflectionSections, and llvm::binaryformat::unknown.

◆ getSXDataSection()

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

Definition at line 446 of file MCObjectFileInfo.h.

References SXDataSection.

Referenced by llvm::MCWinCOFFStreamer::emitCOFFSafeSEH().

◆ getTextCoalSection()

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

Definition at line 411 of file MCObjectFileInfo.h.

References TextCoalSection.

◆ getTextSection()

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

◆ getTextSectionAlignment()

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

Reimplemented in llvm::RISCVELFTargetObjectFile, and llvm::RISCVMCObjectFileInfo.

Definition at line 280 of file MCObjectFileInfo.h.

◆ getThreadLocalPointerSection()

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

Definition at line 437 of file MCObjectFileInfo.h.

References ThreadLocalPointerSection.

Referenced by llvm::ARMAsmPrinter::emitEndOfAsmFile().

◆ getTLSBSSSection()

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

Definition at line 367 of file MCObjectFileInfo.h.

References TLSBSSSection.

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

◆ getTLSDataSection()

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

Definition at line 366 of file MCObjectFileInfo.h.

References TLSDataSection.

◆ getTLSExtraDataSection()

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

Definition at line 365 of file MCObjectFileInfo.h.

References TLSExtraDataSection.

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

◆ getTLSThreadInitSection()

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

Definition at line 406 of file MCObjectFileInfo.h.

References TLSThreadInitSection.

◆ getTLSTLVSection()

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

Definition at line 405 of file MCObjectFileInfo.h.

References TLSTLVSection.

◆ getTOCBaseSection()

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

Definition at line 458 of file MCObjectFileInfo.h.

References TOCBaseSection.

◆ getUStringSection()

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

Definition at line 410 of file MCObjectFileInfo.h.

References UStringSection.

◆ getXDataSection()

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

Definition at line 445 of file MCObjectFileInfo.h.

References XDataSection.

◆ initMCObjectFileInfo()

◆ isPositionIndependent()

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

Member Data Documentation

◆ ADASection

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

◆ AddrSigSection

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

Definition at line 231 of file MCObjectFileInfo.h.

Referenced by getAddrSigSection().

◆ BSSSection

◆ CallGraphSection

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

Section containing call graph metadata.

Definition at line 77 of file MCObjectFileInfo.h.

Referenced by getCallGraphSection().

◆ COFFDebugSymbolsSection

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

Definition at line 152 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugSymbolsSection().

◆ COFFDebugTypesSection

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

Definition at line 153 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugTypesSection().

◆ COFFGlobalTypeHashesSection

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

Definition at line 154 of file MCObjectFileInfo.h.

Referenced by getCOFFGlobalTypeHashesSection().

◆ CompactUnwindDwarfEHFrameOnly

unsigned llvm::MCObjectFileInfo::CompactUnwindDwarfEHFrameOnly = 0
protected

Compact unwind encoding indicating that we should emit only an EH frame.

Definition at line 52 of file MCObjectFileInfo.h.

Referenced by getCompactUnwindDwarfEHFrameOnly(), and initMCObjectFileInfo().

◆ CompactUnwindSection

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

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.

Definition at line 82 of file MCObjectFileInfo.h.

Referenced by getCompactUnwindSection(), and initMCObjectFileInfo().

◆ ConstDataCoalSection

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

◆ ConstDataSection

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

◆ ConstTextCoalSection

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

◆ CStringSection

◆ DataBSSSection

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

◆ DataCoalSection

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

◆ DataCommonSection

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

◆ DataRelROSection

◆ DataSection

◆ DrectveSection

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

COFF specific sections.

Definition at line 234 of file MCObjectFileInfo.h.

Referenced by getDrectveSection().

◆ DwarfAbbrevDWOSection

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

Definition at line 120 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevDWOSection().

◆ DwarfAbbrevSection

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

Definition at line 90 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevSection().

◆ DwarfAccelNamespaceSection

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

Definition at line 114 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamespaceSection(), and initMCObjectFileInfo().

◆ DwarfAccelNamesSection

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

Definition at line 112 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamesSection(), and initMCObjectFileInfo().

◆ DwarfAccelObjCSection

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

Definition at line 113 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelObjCSection(), and initMCObjectFileInfo().

◆ DwarfAccelTypesSection

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

Definition at line 115 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelTypesSection(), and initMCObjectFileInfo().

◆ DwarfAddrSection

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

Definition at line 130 of file MCObjectFileInfo.h.

Referenced by getDwarfAddrSection().

◆ DwarfARangesSection

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

Definition at line 99 of file MCObjectFileInfo.h.

Referenced by getDwarfARangesSection().

◆ DwarfCUIndexSection

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

Definition at line 141 of file MCObjectFileInfo.h.

Referenced by getDwarfCUIndexSection().

◆ DwarfDebugInlineSection

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

Definition at line 96 of file MCObjectFileInfo.h.

Referenced by getDwarfDebugInlineSection().

◆ 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 111 of file MCObjectFileInfo.h.

Referenced by getDwarfDebugNamesSection().

◆ DwarfFrameSection

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

Definition at line 94 of file MCObjectFileInfo.h.

Referenced by getDwarfFrameSection().

◆ DwarfGnuPubNamesSection

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

Section for newer gnu pubnames.

Definition at line 145 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubNamesSection().

◆ DwarfGnuPubTypesSection

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

Section for newer gnu pubtypes.

Definition at line 147 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubTypesSection().

◆ DwarfInfoDWOSection

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

Definition at line 118 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoDWOSection().

◆ DwarfInfoSection

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

Definition at line 91 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoSection().

◆ DwarfLineDWOSection

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

Definition at line 122 of file MCObjectFileInfo.h.

Referenced by getDwarfLineDWOSection().

◆ DwarfLineSection

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

Definition at line 92 of file MCObjectFileInfo.h.

Referenced by getDwarfLineSection().

◆ DwarfLineStrSection

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

Definition at line 93 of file MCObjectFileInfo.h.

Referenced by getDwarfLineStrSection().

◆ DwarfLocDWOSection

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

Definition at line 123 of file MCObjectFileInfo.h.

Referenced by getDwarfLocDWOSection().

◆ DwarfLoclistsDWOSection

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

Definition at line 138 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsDWOSection().

◆ DwarfLoclistsSection

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

The DWARF v5 locations list section.

Definition at line 134 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsSection().

◆ DwarfLocSection

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

Definition at line 98 of file MCObjectFileInfo.h.

Referenced by getDwarfLocSection().

◆ DwarfMacinfoDWOSection

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

Definition at line 125 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoDWOSection().

◆ DwarfMacinfoSection

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

Definition at line 101 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoSection().

◆ DwarfMacroDWOSection

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

Definition at line 126 of file MCObjectFileInfo.h.

Referenced by getDwarfMacroDWOSection().

◆ DwarfMacroSection

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

Definition at line 102 of file MCObjectFileInfo.h.

Referenced by getDwarfMacroSection().

◆ DwarfPubNamesSection

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

Definition at line 105 of file MCObjectFileInfo.h.

Referenced by getDwarfPubNamesSection().

◆ DwarfPubTypesSection

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

Definition at line 95 of file MCObjectFileInfo.h.

Referenced by getDwarfPubTypesSection().

◆ DwarfRangesSection

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

Definition at line 100 of file MCObjectFileInfo.h.

Referenced by getDwarfRangesSection().

◆ DwarfRnglistsDWOSection

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

The DWARF v5 range and location list sections for fission.

Definition at line 137 of file MCObjectFileInfo.h.

Referenced by getDwarfRnglistsDWOSection().

◆ DwarfRnglistsSection

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

The DWARF v5 range list section.

Definition at line 132 of file MCObjectFileInfo.h.

Referenced by getDwarfRnglistsSection().

◆ DwarfStrDWOSection

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

Definition at line 121 of file MCObjectFileInfo.h.

Referenced by getDwarfStrDWOSection().

◆ DwarfStrOffDWOSection

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

Definition at line 124 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffDWOSection().

◆ DwarfStrOffSection

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

The DWARF v5 string offset and address table sections.

Definition at line 129 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffSection().

◆ DwarfStrSection

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

Definition at line 97 of file MCObjectFileInfo.h.

Referenced by getDwarfStrSection().

◆ DwarfSwiftASTSection

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

Definition at line 150 of file MCObjectFileInfo.h.

Referenced by getDwarfSwiftASTSection().

◆ DwarfTUIndexSection

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

Definition at line 142 of file MCObjectFileInfo.h.

Referenced by getDwarfTUIndexSection().

◆ DwarfTypesDWOSection

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

Definition at line 119 of file MCObjectFileInfo.h.

Referenced by getDwarfTypesDWOSection().

◆ EHFrameSection

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

EH frame section.

It is initialized on demand so it can be overwritten (with uniquing).

Definition at line 182 of file MCObjectFileInfo.h.

Referenced by getEHFrameSection(), and initMCObjectFileInfo().

◆ EightByteConstantSection

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

◆ FaultMapSection

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

FaultMap section.

Definition at line 174 of file MCObjectFileInfo.h.

Referenced by getFaultMapSection().

◆ 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 49 of file MCObjectFileInfo.h.

Referenced by getFDEEncoding(), and initMCObjectFileInfo().

◆ FourByteConstantSection

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

◆ GEHContSection

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

Definition at line 238 of file MCObjectFileInfo.h.

Referenced by getGEHContSection().

◆ GFIDsSection

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

Definition at line 239 of file MCObjectFileInfo.h.

Referenced by getGFIDsSection().

◆ GIATsSection

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

Definition at line 240 of file MCObjectFileInfo.h.

Referenced by getGIATsSection().

◆ GLJMPSection

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

Definition at line 241 of file MCObjectFileInfo.h.

Referenced by getGLJMPSection().

◆ IDRLSection

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

Definition at line 246 of file MCObjectFileInfo.h.

Referenced by getIDRLSection().

◆ ImportCallSection

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

If import call optimization is supported by the target, this is the section to emit import call data to.

Definition at line 86 of file MCObjectFileInfo.h.

Referenced by getImportCallSection().

◆ LazySymbolPointerSection

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

Definition at line 228 of file MCObjectFileInfo.h.

Referenced by getLazySymbolPointerSection().

◆ LLVMStatsSection

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

Definition at line 195 of file MCObjectFileInfo.h.

Referenced by getLLVMStatsSection().

◆ LSDASection

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

If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to.

Definition at line 74 of file MCObjectFileInfo.h.

Referenced by getLSDASection(), llvm::TargetLoweringObjectFile::getSectionForLSDA(), llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), and llvm::ARMElfTargetObjectFile::Initialize().

◆ MergeableConst16Section

◆ MergeableConst32Section

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

◆ MergeableConst4Section

◆ MergeableConst8Section

◆ NonLazySymbolPointerSection

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

Definition at line 229 of file MCObjectFileInfo.h.

Referenced by getNonLazySymbolPointerSection().

◆ OmitDwarfIfHaveCompactUnwind

bool llvm::MCObjectFileInfo::OmitDwarfIfHaveCompactUnwind = false
protected

OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind.

Definition at line 43 of file MCObjectFileInfo.h.

Referenced by getOmitDwarfIfHaveCompactUnwind(), and initMCObjectFileInfo().

◆ PDataSection

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

Definition at line 235 of file MCObjectFileInfo.h.

Referenced by getPDataSection().

◆ PPA2ListSection

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

Definition at line 244 of file MCObjectFileInfo.h.

Referenced by getPPA2ListSection().

◆ PseudoProbeDescSection

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

Definition at line 192 of file MCObjectFileInfo.h.

Referenced by getPseudoProbeDescSection().

◆ PseudoProbeSection

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

Section for pseudo probe information used by AutoFDO.

Definition at line 191 of file MCObjectFileInfo.h.

Referenced by getPseudoProbeSection().

◆ ReadOnly16Section

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

◆ ReadOnly8Section

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

◆ ReadOnlySection

◆ RemarksSection

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

Remarks section.

Definition at line 177 of file MCObjectFileInfo.h.

Referenced by getRemarksSection().

◆ SFrameABIArch

std::optional<sframe::ABI> llvm::MCObjectFileInfo::SFrameABIArch = {}
protected

SFrame ABI architecture byte.

Definition at line 55 of file MCObjectFileInfo.h.

Referenced by getSFrameABIArch().

◆ SFrameSection

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

SFrame section.

Definition at line 185 of file MCObjectFileInfo.h.

Referenced by getSFrameSection(), and initMCObjectFileInfo().

◆ SixteenByteConstantSection

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

◆ StackMapSection

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

StackMap section.

Definition at line 171 of file MCObjectFileInfo.h.

Referenced by getStackMapSection().

◆ StackSizesSection

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

Section containing metadata on function stack sizes.

Definition at line 188 of file MCObjectFileInfo.h.

Referenced by getStackSizesSection().

◆ SupportsCompactUnwindWithoutEHFrame

bool llvm::MCObjectFileInfo::SupportsCompactUnwindWithoutEHFrame = false
protected

True if the target object file supports emitting a compact unwind section without an associated EH frame section.

Definition at line 38 of file MCObjectFileInfo.h.

Referenced by getSupportsCompactUnwindWithoutEHFrame(), and initMCObjectFileInfo().

◆ SupportsWeakOmittedEHFrame

bool llvm::MCObjectFileInfo::SupportsWeakOmittedEHFrame = false
protected

True if target object file supports a weak_definition of constant 0 for an omitted EH frame.

Definition at line 34 of file MCObjectFileInfo.h.

Referenced by getSupportsWeakOmittedEHFrame(), and initMCObjectFileInfo().

◆ Swift5ReflectionSections

std::array<MCSection *, binaryformat::Swift5ReflectionSectionKind::last> llvm::MCObjectFileInfo::Swift5ReflectionSections = {}
protected

Definition at line 255 of file MCObjectFileInfo.h.

Referenced by getSwift5ReflectionSection().

◆ SXDataSection

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

Definition at line 237 of file MCObjectFileInfo.h.

Referenced by getSXDataSection().

◆ TextCoalSection

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

◆ TextSection

◆ ThreadLocalPointerSection

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

Definition at line 230 of file MCObjectFileInfo.h.

Referenced by getThreadLocalPointerSection().

◆ TLSBSSSection

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

Section directive for Thread Local uninitialized data.

Null if this target doesn't support a BSS section. ELF and MachO only.

Definition at line 168 of file MCObjectFileInfo.h.

Referenced by getTLSBSSSection(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().

◆ TLSDataSection

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

◆ TLSExtraDataSection

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

Extra TLS Variable Data section.

If the target needs to put additional information for a TLS variable, it'll go here.

Definition at line 160 of file MCObjectFileInfo.h.

Referenced by getTLSExtraDataSection().

◆ TLSThreadInitSection

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

Section for thread local data initialization functions.

Definition at line 214 of file MCObjectFileInfo.h.

Referenced by getTLSThreadInitSection().

◆ 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 210 of file MCObjectFileInfo.h.

Referenced by getTLSTLVSection().

◆ TOCBaseSection

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

Definition at line 249 of file MCObjectFileInfo.h.

Referenced by getTOCBaseSection().

◆ UStringSection

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

◆ XDataSection

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

Definition at line 236 of file MCObjectFileInfo.h.

Referenced by getXDataSection().


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