LLVM 22.0.0git
Public Member Functions | Protected Attributes | List of all members
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.

◆ getAddrSigSection()

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

Definition at line 440 of file MCObjectFileInfo.h.

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

◆ getBBAddrMapSection()

MCSection * MCObjectFileInfo::getBBAddrMapSection ( const MCSection TextSec) const

◆ getBSSSection()

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

◆ getCallGraphSection()

MCSection * MCObjectFileInfo::getCallGraphSection ( const MCSection TextSec) const

◆ getCOFFDebugSymbolsSection()

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

Definition at line 355 of file MCObjectFileInfo.h.

Referenced by llvm::CodeViewDebug::beginModule().

◆ getCOFFDebugTypesSection()

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

Definition at line 358 of file MCObjectFileInfo.h.

◆ getCOFFGlobalTypeHashesSection()

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

Definition at line 361 of file MCObjectFileInfo.h.

◆ getCompactUnwindDwarfEHFrameOnly()

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

Definition at line 275 of file MCObjectFileInfo.h.

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.

◆ getConstDataSection()

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

Definition at line 415 of file MCObjectFileInfo.h.

◆ getConstTextCoalSection()

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

Definition at line 412 of file MCObjectFileInfo.h.

◆ getContext()

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

Definition at line 261 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::TargetLoweringObjectFile::emitPseudoProbeDescMetadata(), 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::TargetLoweringObjectFileGOFF::getModuleMetadata(), llvm::TargetLoweringObjectFileELF::getSectionForCommandLines(), llvm::TargetLoweringObjectFileMachO::getSectionForCommandLines(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileXCOFF::getSectionForFunctionDescriptor(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::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::TargetLoweringObjectFileCOFF::lowerRelativeReference(), llvm::TargetLoweringObjectFileELF::lowerSymbolDifference(), 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

Definition at line 409 of file MCObjectFileInfo.h.

◆ getDataBSSSection()

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

Definition at line 421 of file MCObjectFileInfo.h.

◆ getDataCoalSection()

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

Definition at line 416 of file MCObjectFileInfo.h.

◆ getDataCommonSection()

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

Definition at line 420 of file MCObjectFileInfo.h.

◆ getDataRelROSection()

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

Definition at line 390 of file MCObjectFileInfo.h.

◆ 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.

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.

Referenced by isDwarfSection().

◆ getDwarfAccelNamesSection()

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

Definition at line 319 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfAccelObjCSection()

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

Definition at line 322 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfAccelTypesSection()

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

Definition at line 326 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfAddrSection()

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

Definition at line 340 of file MCObjectFileInfo.h.

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.

Referenced by isDwarfSection().

◆ getDwarfDebugInlineSection()

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

Definition at line 304 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfDebugNamesSection()

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

Definition at line 316 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfFrameSection()

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

Definition at line 295 of file MCObjectFileInfo.h.

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

◆ getDwarfGnuPubNamesSection()

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

Definition at line 298 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfGnuPubTypesSection()

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

Definition at line 301 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfInfoDWOSection()

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

Definition at line 329 of file MCObjectFileInfo.h.

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and isDwarfSection().

◆ getDwarfInfoSection() [1/2]

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

◆ 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.

Referenced by isDwarfSection().

◆ getDwarfLineSection()

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

◆ getDwarfLineStrSection()

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

◆ getDwarfLocDWOSection()

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

Definition at line 337 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfLoclistsDWOSection()

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

Definition at line 344 of file MCObjectFileInfo.h.

◆ getDwarfLoclistsSection()

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

Definition at line 312 of file MCObjectFileInfo.h.

◆ getDwarfLocSection()

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

Definition at line 308 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfMacinfoDWOSection()

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

Definition at line 348 of file MCObjectFileInfo.h.

◆ getDwarfMacinfoSection()

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

Definition at line 313 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfMacroDWOSection()

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

Definition at line 347 of file MCObjectFileInfo.h.

◆ getDwarfMacroSection()

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

Definition at line 314 of file MCObjectFileInfo.h.

◆ getDwarfPubNamesSection()

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

Definition at line 296 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfPubTypesSection()

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

Definition at line 297 of file MCObjectFileInfo.h.

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.

◆ getDwarfRnglistsSection()

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

Definition at line 311 of file MCObjectFileInfo.h.

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

◆ getDwarfStrDWOSection()

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

Definition at line 335 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfStrOffDWOSection()

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

Definition at line 338 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfStrOffSection()

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

Definition at line 339 of file MCObjectFileInfo.h.

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

◆ getDwarfStrSection()

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

Definition at line 307 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfSwiftASTSection()

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

Definition at line 353 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfTUIndexSection()

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

Definition at line 352 of file MCObjectFileInfo.h.

Referenced by isDwarfSection().

◆ getDwarfTypesDWOSection()

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

Definition at line 333 of file MCObjectFileInfo.h.

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and isDwarfSection().

◆ getDwarfTypesSection()

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

Definition at line 330 of file MCObjectFileInfo.h.

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().

◆ getEHFrameSection()

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

Definition at line 460 of file MCObjectFileInfo.h.

◆ getEightByteConstantSection()

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

Definition at line 425 of file MCObjectFileInfo.h.

◆ getFaultMapSection()

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

Definition at line 370 of file MCObjectFileInfo.h.

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

◆ getFDEEncoding()

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

Definition at line 273 of file MCObjectFileInfo.h.

◆ getFourByteConstantSection()

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

Definition at line 422 of file MCObjectFileInfo.h.

◆ getGEHContSection()

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

Definition at line 447 of file MCObjectFileInfo.h.

Referenced by llvm::WinException::endModule().

◆ getGFIDsSection()

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

Definition at line 448 of file MCObjectFileInfo.h.

Referenced by llvm::WinCFGuard::endModule().

◆ getGIATsSection()

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

Definition at line 449 of file MCObjectFileInfo.h.

Referenced by llvm::WinCFGuard::endModule().

◆ getGLJMPSection()

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

Definition at line 450 of file MCObjectFileInfo.h.

Referenced by llvm::WinCFGuard::endModule().

◆ getIDRLSection()

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

Definition at line 455 of file MCObjectFileInfo.h.

◆ getImportCallSection()

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

Definition at line 286 of file MCObjectFileInfo.h.

◆ getKCFITrapSection()

MCSection * MCObjectFileInfo::getKCFITrapSection ( const MCSection TextSec) const

◆ getLazySymbolPointerSection()

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

Definition at line 431 of file MCObjectFileInfo.h.

◆ getLLVMStatsSection()

MCSection * MCObjectFileInfo::getLLVMStatsSection ( ) const

Definition at line 1264 of file MCObjectFileInfo.cpp.

References LLVMStatsSection.

◆ getLSDASection()

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

Definition at line 285 of file MCObjectFileInfo.h.

◆ getMergeableConst16Section()

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

Definition at line 397 of file MCObjectFileInfo.h.

◆ getMergeableConst32Section()

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

Definition at line 400 of file MCObjectFileInfo.h.

◆ getMergeableConst4Section()

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

Definition at line 391 of file MCObjectFileInfo.h.

◆ getMergeableConst8Section()

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

Definition at line 394 of file MCObjectFileInfo.h.

◆ getNonLazySymbolPointerSection()

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

Definition at line 434 of file MCObjectFileInfo.h.

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

◆ getOmitDwarfIfHaveCompactUnwind()

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

Definition at line 269 of file MCObjectFileInfo.h.

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

◆ getPCSection()

MCSection * MCObjectFileInfo::getPCSection ( StringRef  Name,
const MCSection TextSec 
) const

◆ getPDataSection()

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

Definition at line 444 of file MCObjectFileInfo.h.

◆ getPPA2ListSection()

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

Definition at line 453 of file MCObjectFileInfo.h.

◆ getPseudoProbeDescSection()

MCSection * MCObjectFileInfo::getPseudoProbeDescSection ( StringRef  FuncName) const

◆ getPseudoProbeSection()

MCSection * MCObjectFileInfo::getPseudoProbeSection ( const MCSection TextSec) const

◆ getReadOnlySection()

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

Definition at line 284 of file MCObjectFileInfo.h.

◆ getRemarksSection()

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

Definition at line 371 of file MCObjectFileInfo.h.

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

◆ getSFrameABIArch()

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

Definition at line 279 of file MCObjectFileInfo.h.

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

◆ getSFrameSection()

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

Definition at line 461 of file MCObjectFileInfo.h.

◆ getSixteenByteConstantSection()

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

Definition at line 428 of file MCObjectFileInfo.h.

◆ getStackMapSection()

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

Definition at line 369 of file MCObjectFileInfo.h.

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

◆ getStackSizesSection()

MCSection * MCObjectFileInfo::getStackSizesSection ( const MCSection TextSec) const

◆ getSupportsCompactUnwindWithoutEHFrame()

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

Definition at line 266 of file MCObjectFileInfo.h.

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

◆ getSupportsWeakOmittedEHFrame()

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

Definition at line 263 of file MCObjectFileInfo.h.

◆ getSwift5ReflectionSection()

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

Definition at line 466 of file MCObjectFileInfo.h.

References llvm::binaryformat::unknown.

◆ getSXDataSection()

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

Definition at line 446 of file MCObjectFileInfo.h.

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

◆ getTextCoalSection()

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

Definition at line 411 of file MCObjectFileInfo.h.

◆ getTextSection()

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

◆ getTextSectionAlignment()

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

◆ getThreadLocalPointerSection()

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

Definition at line 437 of file MCObjectFileInfo.h.

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

◆ getTLSBSSSection()

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

Definition at line 367 of file MCObjectFileInfo.h.

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

◆ getTLSDataSection()

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

Definition at line 366 of file MCObjectFileInfo.h.

◆ getTLSExtraDataSection()

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

Definition at line 365 of file MCObjectFileInfo.h.

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

◆ getTLSThreadInitSection()

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

Definition at line 406 of file MCObjectFileInfo.h.

◆ getTLSTLVSection()

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

Definition at line 405 of file MCObjectFileInfo.h.

◆ getTOCBaseSection()

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

Definition at line 458 of file MCObjectFileInfo.h.

◆ getUStringSection()

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

Definition at line 410 of file MCObjectFileInfo.h.

◆ getXDataSection()

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

Definition at line 445 of file MCObjectFileInfo.h.

◆ initMCObjectFileInfo()

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

◆ 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.

◆ BSSSection

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

◆ 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.

◆ COFFDebugTypesSection

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

Definition at line 153 of file MCObjectFileInfo.h.

◆ COFFGlobalTypeHashesSection

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

Definition at line 154 of file MCObjectFileInfo.h.

◆ 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 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 initMCObjectFileInfo().

◆ 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

COFF specific sections.

Definition at line 234 of file MCObjectFileInfo.h.

◆ DwarfAbbrevDWOSection

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

Definition at line 120 of file MCObjectFileInfo.h.

◆ DwarfAbbrevSection

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

Definition at line 90 of file MCObjectFileInfo.h.

◆ DwarfAccelNamespaceSection

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

Definition at line 114 of file MCObjectFileInfo.h.

Referenced by initMCObjectFileInfo().

◆ DwarfAccelNamesSection

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

Definition at line 112 of file MCObjectFileInfo.h.

Referenced by initMCObjectFileInfo().

◆ DwarfAccelObjCSection

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

Definition at line 113 of file MCObjectFileInfo.h.

Referenced by initMCObjectFileInfo().

◆ DwarfAccelTypesSection

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

Definition at line 115 of file MCObjectFileInfo.h.

Referenced by initMCObjectFileInfo().

◆ DwarfAddrSection

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

Definition at line 130 of file MCObjectFileInfo.h.

◆ DwarfARangesSection

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

Definition at line 99 of file MCObjectFileInfo.h.

◆ DwarfCUIndexSection

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

Definition at line 141 of file MCObjectFileInfo.h.

◆ DwarfDebugInlineSection

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

Definition at line 96 of file MCObjectFileInfo.h.

◆ 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.

◆ DwarfFrameSection

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

Definition at line 94 of file MCObjectFileInfo.h.

◆ DwarfGnuPubNamesSection

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

Section for newer gnu pubnames.

Definition at line 145 of file MCObjectFileInfo.h.

◆ DwarfGnuPubTypesSection

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

Section for newer gnu pubtypes.

Definition at line 147 of file MCObjectFileInfo.h.

◆ DwarfInfoDWOSection

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

Definition at line 118 of file MCObjectFileInfo.h.

◆ DwarfInfoSection

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

Definition at line 91 of file MCObjectFileInfo.h.

◆ DwarfLineDWOSection

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

Definition at line 122 of file MCObjectFileInfo.h.

◆ DwarfLineSection

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

Definition at line 92 of file MCObjectFileInfo.h.

◆ DwarfLineStrSection

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

Definition at line 93 of file MCObjectFileInfo.h.

◆ DwarfLocDWOSection

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

Definition at line 123 of file MCObjectFileInfo.h.

◆ DwarfLoclistsDWOSection

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

Definition at line 138 of file MCObjectFileInfo.h.

◆ DwarfLoclistsSection

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

The DWARF v5 locations list section.

Definition at line 134 of file MCObjectFileInfo.h.

◆ DwarfLocSection

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

Definition at line 98 of file MCObjectFileInfo.h.

◆ DwarfMacinfoDWOSection

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

Definition at line 125 of file MCObjectFileInfo.h.

◆ DwarfMacinfoSection

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

Definition at line 101 of file MCObjectFileInfo.h.

◆ DwarfMacroDWOSection

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

Definition at line 126 of file MCObjectFileInfo.h.

◆ DwarfMacroSection

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

Definition at line 102 of file MCObjectFileInfo.h.

◆ DwarfPubNamesSection

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

Definition at line 105 of file MCObjectFileInfo.h.

◆ DwarfPubTypesSection

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

Definition at line 95 of file MCObjectFileInfo.h.

◆ DwarfRangesSection

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

Definition at line 100 of file MCObjectFileInfo.h.

◆ 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.

◆ DwarfRnglistsSection

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

The DWARF v5 range list section.

Definition at line 132 of file MCObjectFileInfo.h.

◆ DwarfStrDWOSection

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

Definition at line 121 of file MCObjectFileInfo.h.

◆ DwarfStrOffDWOSection

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

Definition at line 124 of file MCObjectFileInfo.h.

◆ DwarfStrOffSection

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

The DWARF v5 string offset and address table sections.

Definition at line 129 of file MCObjectFileInfo.h.

◆ DwarfStrSection

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

Definition at line 97 of file MCObjectFileInfo.h.

◆ DwarfSwiftASTSection

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

Definition at line 150 of file MCObjectFileInfo.h.

◆ DwarfTUIndexSection

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

Definition at line 142 of file MCObjectFileInfo.h.

◆ DwarfTypesDWOSection

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

Definition at line 119 of file MCObjectFileInfo.h.

◆ 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 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.

◆ 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 initMCObjectFileInfo().

◆ FourByteConstantSection

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

◆ GEHContSection

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

Definition at line 238 of file MCObjectFileInfo.h.

◆ GFIDsSection

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

Definition at line 239 of file MCObjectFileInfo.h.

◆ GIATsSection

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

Definition at line 240 of file MCObjectFileInfo.h.

◆ GLJMPSection

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

Definition at line 241 of file MCObjectFileInfo.h.

◆ IDRLSection

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

Definition at line 246 of file MCObjectFileInfo.h.

◆ 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.

◆ LazySymbolPointerSection

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

Definition at line 228 of file MCObjectFileInfo.h.

◆ 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 llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), and llvm::ARMElfTargetObjectFile::Initialize().

◆ 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

Definition at line 229 of file MCObjectFileInfo.h.

◆ 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 initMCObjectFileInfo().

◆ PDataSection

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

Definition at line 235 of file MCObjectFileInfo.h.

◆ PPA2ListSection

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

Definition at line 244 of file MCObjectFileInfo.h.

◆ 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

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

◆ RemarksSection

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

Remarks section.

Definition at line 177 of file MCObjectFileInfo.h.

◆ SFrameABIArch

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

SFrame ABI architecture byte.

Definition at line 55 of file MCObjectFileInfo.h.

◆ SFrameSection

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

SFrame section.

Definition at line 185 of file MCObjectFileInfo.h.

Referenced by 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.

◆ 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 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 initMCObjectFileInfo().

◆ Swift5ReflectionSections

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

Definition at line 255 of file MCObjectFileInfo.h.

◆ SXDataSection

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

Definition at line 237 of file MCObjectFileInfo.h.

◆ TextCoalSection

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

◆ TextSection

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

◆ ThreadLocalPointerSection

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

Definition at line 230 of file MCObjectFileInfo.h.

◆ 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 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.

◆ TLSThreadInitSection

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

Section for thread local data initialization functions.

Definition at line 214 of file MCObjectFileInfo.h.

◆ 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.

◆ TOCBaseSection

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

Definition at line 249 of file MCObjectFileInfo.h.

◆ UStringSection

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

◆ XDataSection

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

Definition at line 236 of file MCObjectFileInfo.h.


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