LLVM 20.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:
Inheritance graph
[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
 
virtual unsigned getTextSectionAlignment () const
 
MCSectiongetTextSection () const
 
MCSectiongetDataSection () const
 
MCSectiongetBSSSection () const
 
MCSectiongetReadOnlySection () const
 
MCSectiongetLSDASection () 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
 
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
 
MCSectiongetPPA1Section () const
 
MCSectiongetPPA2Section () const
 
MCSectiongetPPA2ListSection () const
 
MCSectiongetADASection () const
 
MCSectiongetIDRLSection () const
 
MCSectiongetTOCBaseSection () const
 
MCSectiongetEHFrameSection () 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.
 
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.
 
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.
 
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.
 
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
 
MCSectionPPA1Section = nullptr
 
MCSectionPPA2Section = nullptr
 
MCSectionPPA2ListSection = nullptr
 
MCSectionADASection = nullptr
 
MCSectionIDRLSection = nullptr
 
MCSectionTOCBaseSection = nullptr
 
MCSectionReadOnly8Section = nullptr
 
MCSectionReadOnly16Section = nullptr
 
std::array< MCSection *, binaryformat::Swift5ReflectionSectionKind::lastSwift5ReflectionSections = {}
 

Detailed Description

Definition at line 28 of file MCObjectFileInfo.h.

Constructor & Destructor Documentation

◆ ~MCObjectFileInfo()

MCObjectFileInfo::~MCObjectFileInfo ( )
virtualdefault

Member Function Documentation

◆ getADASection()

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

Definition at line 439 of file MCObjectFileInfo.h.

References ADASection.

◆ getAddrSigSection()

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

Definition at line 423 of file MCObjectFileInfo.h.

References AddrSigSection.

◆ getBBAddrMapSection()

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

◆ getBSSSection()

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

◆ getCOFFDebugSymbolsSection()

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

Definition at line 340 of file MCObjectFileInfo.h.

References COFFDebugSymbolsSection.

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

◆ getCOFFDebugTypesSection()

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

Definition at line 343 of file MCObjectFileInfo.h.

References COFFDebugTypesSection.

◆ getCOFFGlobalTypeHashesSection()

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

Definition at line 346 of file MCObjectFileInfo.h.

References COFFGlobalTypeHashesSection.

◆ getCompactUnwindDwarfEHFrameOnly()

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

Definition at line 262 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 400 of file MCObjectFileInfo.h.

References ConstDataCoalSection.

◆ getConstDataSection()

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

Definition at line 398 of file MCObjectFileInfo.h.

References ConstDataSection.

◆ getConstTextCoalSection()

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

Definition at line 395 of file MCObjectFileInfo.h.

References ConstTextCoalSection.

◆ getContext()

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

Definition at line 248 of file MCObjectFileInfo.h.

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

◆ getCStringSection()

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

Definition at line 392 of file MCObjectFileInfo.h.

References CStringSection.

◆ getDataBSSSection()

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

Definition at line 404 of file MCObjectFileInfo.h.

References DataBSSSection.

◆ getDataCoalSection()

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

Definition at line 399 of file MCObjectFileInfo.h.

References DataCoalSection.

◆ getDataCommonSection()

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

Definition at line 403 of file MCObjectFileInfo.h.

References DataCommonSection.

◆ getDataRelROSection()

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

Definition at line 373 of file MCObjectFileInfo.h.

References DataRelROSection.

◆ getDataSection()

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

◆ getDrectveSection()

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

Definition at line 426 of file MCObjectFileInfo.h.

References DrectveSection.

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

◆ getDwarfAbbrevDWOSection()

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

Definition at line 319 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 308 of file MCObjectFileInfo.h.

References DwarfAccelNamespaceSection.

Referenced by isDwarfSection().

◆ getDwarfAccelNamesSection()

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

Definition at line 304 of file MCObjectFileInfo.h.

References DwarfAccelNamesSection.

Referenced by isDwarfSection().

◆ getDwarfAccelObjCSection()

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

Definition at line 307 of file MCObjectFileInfo.h.

References DwarfAccelObjCSection.

Referenced by isDwarfSection().

◆ getDwarfAccelTypesSection()

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

Definition at line 311 of file MCObjectFileInfo.h.

References DwarfAccelTypesSection.

Referenced by isDwarfSection().

◆ getDwarfAddrSection()

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

Definition at line 325 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 336 of file MCObjectFileInfo.h.

References DwarfCUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfDebugInlineSection()

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

Definition at line 289 of file MCObjectFileInfo.h.

References DwarfDebugInlineSection.

Referenced by isDwarfSection().

◆ getDwarfDebugNamesSection()

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

Definition at line 301 of file MCObjectFileInfo.h.

References DwarfDebugNamesSection.

Referenced by isDwarfSection().

◆ getDwarfFrameSection()

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

Definition at line 280 of file MCObjectFileInfo.h.

References DwarfFrameSection.

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

◆ getDwarfGnuPubNamesSection()

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

Definition at line 283 of file MCObjectFileInfo.h.

References DwarfGnuPubNamesSection.

Referenced by isDwarfSection().

◆ getDwarfGnuPubTypesSection()

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

Definition at line 286 of file MCObjectFileInfo.h.

References DwarfGnuPubTypesSection.

Referenced by isDwarfSection().

◆ getDwarfInfoDWOSection()

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

Definition at line 314 of file MCObjectFileInfo.h.

References DwarfInfoDWOSection.

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

◆ getDwarfLineDWOSection()

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

Definition at line 321 of file MCObjectFileInfo.h.

References DwarfLineDWOSection.

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

References DwarfLocDWOSection.

Referenced by isDwarfSection().

◆ getDwarfLoclistsDWOSection()

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

Definition at line 329 of file MCObjectFileInfo.h.

References DwarfLoclistsDWOSection.

◆ getDwarfLoclistsSection()

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

Definition at line 297 of file MCObjectFileInfo.h.

References DwarfLoclistsSection.

◆ getDwarfLocSection()

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

Definition at line 293 of file MCObjectFileInfo.h.

References DwarfLocSection.

Referenced by isDwarfSection().

◆ getDwarfMacinfoDWOSection()

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

Definition at line 333 of file MCObjectFileInfo.h.

References DwarfMacinfoDWOSection.

◆ getDwarfMacinfoSection()

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

Definition at line 298 of file MCObjectFileInfo.h.

References DwarfMacinfoSection.

Referenced by isDwarfSection().

◆ getDwarfMacroDWOSection()

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

Definition at line 332 of file MCObjectFileInfo.h.

References DwarfMacroDWOSection.

◆ getDwarfMacroSection()

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

Definition at line 299 of file MCObjectFileInfo.h.

References DwarfMacroSection.

◆ getDwarfPubNamesSection()

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

Definition at line 281 of file MCObjectFileInfo.h.

References DwarfPubNamesSection.

Referenced by isDwarfSection().

◆ getDwarfPubTypesSection()

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

Definition at line 282 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 326 of file MCObjectFileInfo.h.

References DwarfRnglistsDWOSection.

◆ getDwarfRnglistsSection()

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

Definition at line 296 of file MCObjectFileInfo.h.

References DwarfRnglistsSection.

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

◆ getDwarfStrDWOSection()

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

Definition at line 320 of file MCObjectFileInfo.h.

References DwarfStrDWOSection.

Referenced by isDwarfSection().

◆ getDwarfStrOffDWOSection()

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

Definition at line 323 of file MCObjectFileInfo.h.

References DwarfStrOffDWOSection.

Referenced by isDwarfSection().

◆ getDwarfStrOffSection()

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

Definition at line 324 of file MCObjectFileInfo.h.

References DwarfStrOffSection.

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

◆ getDwarfStrSection()

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

Definition at line 292 of file MCObjectFileInfo.h.

References DwarfStrSection.

Referenced by isDwarfSection().

◆ getDwarfSwiftASTSection()

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

Definition at line 338 of file MCObjectFileInfo.h.

References DwarfSwiftASTSection.

Referenced by isDwarfSection().

◆ getDwarfTUIndexSection()

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

Definition at line 337 of file MCObjectFileInfo.h.

References DwarfTUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfTypesDWOSection()

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

Definition at line 318 of file MCObjectFileInfo.h.

References DwarfTypesDWOSection.

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

◆ getDwarfTypesSection()

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

Definition at line 315 of file MCObjectFileInfo.h.

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

◆ getEHFrameSection()

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

Definition at line 445 of file MCObjectFileInfo.h.

References EHFrameSection.

◆ getEightByteConstantSection()

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

Definition at line 408 of file MCObjectFileInfo.h.

References EightByteConstantSection.

◆ getFaultMapSection()

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

Definition at line 355 of file MCObjectFileInfo.h.

References FaultMapSection.

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

◆ getFDEEncoding()

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

Definition at line 260 of file MCObjectFileInfo.h.

References FDECFIEncoding.

◆ getFourByteConstantSection()

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

Definition at line 405 of file MCObjectFileInfo.h.

References FourByteConstantSection.

◆ getGEHContSection()

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

Definition at line 430 of file MCObjectFileInfo.h.

References GEHContSection.

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

◆ getGFIDsSection()

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

Definition at line 431 of file MCObjectFileInfo.h.

References GFIDsSection.

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

◆ getGIATsSection()

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

Definition at line 432 of file MCObjectFileInfo.h.

References GIATsSection.

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

◆ getGLJMPSection()

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

Definition at line 433 of file MCObjectFileInfo.h.

References GLJMPSection.

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

◆ getIDRLSection()

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

Definition at line 440 of file MCObjectFileInfo.h.

References IDRLSection.

◆ getKCFITrapSection()

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

◆ getLazySymbolPointerSection()

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

Definition at line 414 of file MCObjectFileInfo.h.

References LazySymbolPointerSection.

◆ getLLVMStatsSection()

MCSection * MCObjectFileInfo::getLLVMStatsSection ( ) const

Definition at line 1179 of file MCObjectFileInfo.cpp.

References LLVMStatsSection.

◆ getLSDASection()

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

Definition at line 271 of file MCObjectFileInfo.h.

References LSDASection.

◆ getMergeableConst16Section()

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

Definition at line 380 of file MCObjectFileInfo.h.

References MergeableConst16Section.

◆ getMergeableConst32Section()

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

Definition at line 383 of file MCObjectFileInfo.h.

References MergeableConst32Section.

◆ getMergeableConst4Section()

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

Definition at line 374 of file MCObjectFileInfo.h.

References MergeableConst4Section.

◆ getMergeableConst8Section()

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

Definition at line 377 of file MCObjectFileInfo.h.

References MergeableConst8Section.

◆ getNonLazySymbolPointerSection()

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

Definition at line 417 of file MCObjectFileInfo.h.

References NonLazySymbolPointerSection.

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

◆ getOmitDwarfIfHaveCompactUnwind()

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

Definition at line 256 of file MCObjectFileInfo.h.

References OmitDwarfIfHaveCompactUnwind.

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

References PDataSection.

◆ getPPA1Section()

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

Definition at line 436 of file MCObjectFileInfo.h.

References PPA1Section.

◆ getPPA2ListSection()

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

Definition at line 438 of file MCObjectFileInfo.h.

References PPA2ListSection.

◆ getPPA2Section()

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

Definition at line 437 of file MCObjectFileInfo.h.

References PPA2Section.

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

References ReadOnlySection.

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

◆ getRemarksSection()

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

Definition at line 356 of file MCObjectFileInfo.h.

References RemarksSection.

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

◆ getSixteenByteConstantSection()

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

Definition at line 411 of file MCObjectFileInfo.h.

References SixteenByteConstantSection.

◆ getStackMapSection()

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

Definition at line 354 of file MCObjectFileInfo.h.

References StackMapSection.

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

◆ getStackSizesSection()

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

◆ getSupportsCompactUnwindWithoutEHFrame()

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

Definition at line 253 of file MCObjectFileInfo.h.

References SupportsCompactUnwindWithoutEHFrame.

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

◆ getSupportsWeakOmittedEHFrame()

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

Definition at line 250 of file MCObjectFileInfo.h.

References SupportsWeakOmittedEHFrame.

◆ getSwift5ReflectionSection()

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

Definition at line 450 of file MCObjectFileInfo.h.

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

◆ getSXDataSection()

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

Definition at line 429 of file MCObjectFileInfo.h.

References SXDataSection.

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

◆ getTextCoalSection()

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

Definition at line 394 of file MCObjectFileInfo.h.

References TextCoalSection.

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

References ThreadLocalPointerSection.

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

◆ getTLSBSSSection()

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

Definition at line 352 of file MCObjectFileInfo.h.

References TLSBSSSection.

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

◆ getTLSDataSection()

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

Definition at line 351 of file MCObjectFileInfo.h.

References TLSDataSection.

◆ getTLSExtraDataSection()

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

Definition at line 350 of file MCObjectFileInfo.h.

References TLSExtraDataSection.

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

◆ getTLSThreadInitSection()

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

Definition at line 389 of file MCObjectFileInfo.h.

References TLSThreadInitSection.

◆ getTLSTLVSection()

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

Definition at line 388 of file MCObjectFileInfo.h.

References TLSTLVSection.

◆ getTOCBaseSection()

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

Definition at line 443 of file MCObjectFileInfo.h.

References TOCBaseSection.

◆ getUStringSection()

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

Definition at line 393 of file MCObjectFileInfo.h.

References UStringSection.

◆ getXDataSection()

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

Definition at line 428 of file MCObjectFileInfo.h.

References XDataSection.

◆ 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

Definition at line 232 of file MCObjectFileInfo.h.

Referenced by getADASection().

◆ AddrSigSection

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

Definition at line 216 of file MCObjectFileInfo.h.

Referenced by getAddrSigSection().

◆ BSSSection

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

◆ COFFDebugSymbolsSection

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

Definition at line 140 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugSymbolsSection().

◆ COFFDebugTypesSection

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

Definition at line 141 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugTypesSection().

◆ COFFGlobalTypeHashesSection

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

Definition at line 142 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 50 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 74 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

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

Referenced by getDrectveSection().

◆ DwarfAbbrevDWOSection

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

Definition at line 108 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevDWOSection().

◆ DwarfAbbrevSection

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

Definition at line 78 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevSection().

◆ DwarfAccelNamespaceSection

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

Definition at line 102 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamespaceSection(), and initMCObjectFileInfo().

◆ DwarfAccelNamesSection

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

Definition at line 100 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamesSection(), and initMCObjectFileInfo().

◆ DwarfAccelObjCSection

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

Definition at line 101 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelObjCSection(), and initMCObjectFileInfo().

◆ DwarfAccelTypesSection

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

Definition at line 103 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelTypesSection(), and initMCObjectFileInfo().

◆ DwarfAddrSection

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

Definition at line 118 of file MCObjectFileInfo.h.

Referenced by getDwarfAddrSection().

◆ DwarfARangesSection

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

Definition at line 87 of file MCObjectFileInfo.h.

Referenced by getDwarfARangesSection().

◆ DwarfCUIndexSection

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

Definition at line 129 of file MCObjectFileInfo.h.

Referenced by getDwarfCUIndexSection().

◆ DwarfDebugInlineSection

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

Definition at line 84 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 99 of file MCObjectFileInfo.h.

Referenced by getDwarfDebugNamesSection().

◆ DwarfFrameSection

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

Definition at line 82 of file MCObjectFileInfo.h.

Referenced by getDwarfFrameSection().

◆ DwarfGnuPubNamesSection

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

Section for newer gnu pubnames.

Definition at line 133 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubNamesSection().

◆ DwarfGnuPubTypesSection

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

Section for newer gnu pubtypes.

Definition at line 135 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubTypesSection().

◆ DwarfInfoDWOSection

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

Definition at line 106 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoDWOSection().

◆ DwarfInfoSection

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

Definition at line 79 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoSection().

◆ DwarfLineDWOSection

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

Definition at line 110 of file MCObjectFileInfo.h.

Referenced by getDwarfLineDWOSection().

◆ DwarfLineSection

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

Definition at line 80 of file MCObjectFileInfo.h.

Referenced by getDwarfLineSection().

◆ DwarfLineStrSection

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

Definition at line 81 of file MCObjectFileInfo.h.

Referenced by getDwarfLineStrSection().

◆ DwarfLocDWOSection

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

Definition at line 111 of file MCObjectFileInfo.h.

Referenced by getDwarfLocDWOSection().

◆ DwarfLoclistsDWOSection

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

Definition at line 126 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsDWOSection().

◆ DwarfLoclistsSection

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

The DWARF v5 locations list section.

Definition at line 122 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsSection().

◆ DwarfLocSection

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

Definition at line 86 of file MCObjectFileInfo.h.

Referenced by getDwarfLocSection().

◆ DwarfMacinfoDWOSection

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

Definition at line 113 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoDWOSection().

◆ DwarfMacinfoSection

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

Definition at line 89 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoSection().

◆ DwarfMacroDWOSection

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

Definition at line 114 of file MCObjectFileInfo.h.

Referenced by getDwarfMacroDWOSection().

◆ DwarfMacroSection

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

Definition at line 90 of file MCObjectFileInfo.h.

Referenced by getDwarfMacroSection().

◆ DwarfPubNamesSection

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

Definition at line 93 of file MCObjectFileInfo.h.

Referenced by getDwarfPubNamesSection().

◆ DwarfPubTypesSection

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

Definition at line 83 of file MCObjectFileInfo.h.

Referenced by getDwarfPubTypesSection().

◆ DwarfRangesSection

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

Definition at line 88 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 125 of file MCObjectFileInfo.h.

Referenced by getDwarfRnglistsDWOSection().

◆ DwarfRnglistsSection

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

The DWARF v5 range list section.

Definition at line 120 of file MCObjectFileInfo.h.

Referenced by getDwarfRnglistsSection().

◆ DwarfStrDWOSection

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

Definition at line 109 of file MCObjectFileInfo.h.

Referenced by getDwarfStrDWOSection().

◆ DwarfStrOffDWOSection

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

Definition at line 112 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 117 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffSection().

◆ DwarfStrSection

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

Definition at line 85 of file MCObjectFileInfo.h.

Referenced by getDwarfStrSection().

◆ DwarfSwiftASTSection

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

Definition at line 138 of file MCObjectFileInfo.h.

Referenced by getDwarfSwiftASTSection().

◆ DwarfTUIndexSection

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

Definition at line 130 of file MCObjectFileInfo.h.

Referenced by getDwarfTUIndexSection().

◆ DwarfTypesDWOSection

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

Definition at line 107 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 170 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 162 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 47 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 223 of file MCObjectFileInfo.h.

Referenced by getGEHContSection().

◆ GFIDsSection

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

Definition at line 224 of file MCObjectFileInfo.h.

Referenced by getGFIDsSection().

◆ GIATsSection

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

Definition at line 225 of file MCObjectFileInfo.h.

Referenced by getGIATsSection().

◆ GLJMPSection

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

Definition at line 226 of file MCObjectFileInfo.h.

Referenced by getGLJMPSection().

◆ IDRLSection

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

Definition at line 233 of file MCObjectFileInfo.h.

Referenced by getIDRLSection().

◆ LazySymbolPointerSection

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

Definition at line 213 of file MCObjectFileInfo.h.

Referenced by getLazySymbolPointerSection().

◆ LLVMStatsSection

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

Definition at line 180 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 69 of file MCObjectFileInfo.h.

Referenced by getLSDASection(), llvm::TargetLoweringObjectFile::getSectionForLSDA(), 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 214 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 41 of file MCObjectFileInfo.h.

Referenced by getOmitDwarfIfHaveCompactUnwind(), and initMCObjectFileInfo().

◆ PDataSection

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

Definition at line 220 of file MCObjectFileInfo.h.

Referenced by getPDataSection().

◆ PPA1Section

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

Definition at line 229 of file MCObjectFileInfo.h.

Referenced by getPPA1Section().

◆ PPA2ListSection

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

Definition at line 231 of file MCObjectFileInfo.h.

Referenced by getPPA2ListSection().

◆ PPA2Section

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

Definition at line 230 of file MCObjectFileInfo.h.

Referenced by getPPA2Section().

◆ PseudoProbeDescSection

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

Definition at line 177 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 176 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 165 of file MCObjectFileInfo.h.

Referenced by getRemarksSection().

◆ SixteenByteConstantSection

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

◆ StackMapSection

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

StackMap section.

Definition at line 159 of file MCObjectFileInfo.h.

Referenced by getStackMapSection().

◆ StackSizesSection

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

Section containing metadata on function stack sizes.

Definition at line 173 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 36 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 32 of file MCObjectFileInfo.h.

Referenced by getSupportsWeakOmittedEHFrame(), and initMCObjectFileInfo().

◆ Swift5ReflectionSections

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

Definition at line 242 of file MCObjectFileInfo.h.

Referenced by getSwift5ReflectionSection().

◆ SXDataSection

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

Definition at line 222 of file MCObjectFileInfo.h.

Referenced by getSXDataSection().

◆ TextCoalSection

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

◆ TextSection

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

◆ ThreadLocalPointerSection

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

Definition at line 215 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 156 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 148 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 199 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 195 of file MCObjectFileInfo.h.

Referenced by getTLSTLVSection().

◆ TOCBaseSection

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

Definition at line 236 of file MCObjectFileInfo.h.

Referenced by getTOCBaseSection().

◆ UStringSection

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

◆ XDataSection

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

Definition at line 221 of file MCObjectFileInfo.h.

Referenced by getXDataSection().


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