LLVM  10.0.0
Public Types | Public Member Functions | Protected Attributes | List of all members
llvm::MCObjectFileInfo Class Reference

#include "llvm/MC/MCObjectFileInfo.h"

Inheritance diagram for llvm::MCObjectFileInfo:
[legend]
Collaboration diagram for llvm::MCObjectFileInfo:
[legend]

Public Types

enum  Environment {
  IsMachO, IsELF, IsCOFF, IsWasm,
  IsXCOFF
}
 

Public Member Functions

void InitMCObjectFileInfo (const Triple &TT, bool PIC, MCContext &ctx, bool LargeCodeModel=false)
 
bool getSupportsWeakOmittedEHFrame () const
 
bool getSupportsCompactUnwindWithoutEHFrame () const
 
bool getOmitDwarfIfHaveCompactUnwind () const
 
bool getCommDirectiveSupportsAlignment () const
 
unsigned getFDEEncoding () const
 
unsigned getCompactUnwindDwarfEHFrameOnly () const
 
MCSection * getTextSection () const
 
MCSection * getDataSection () const
 
MCSection * getBSSSection () const
 
MCSection * getReadOnlySection () const
 
MCSection * getLSDASection () const
 
MCSection * getCompactUnwindSection () const
 
MCSection * getDwarfAbbrevSection () const
 
MCSection * getDwarfInfoSection () const
 
MCSection * getDwarfInfoSection (uint64_t Hash) const
 
MCSection * getDwarfLineSection () const
 
MCSection * getDwarfLineStrSection () const
 
MCSection * getDwarfFrameSection () const
 
MCSection * getDwarfPubNamesSection () const
 
MCSection * getDwarfPubTypesSection () const
 
MCSection * getDwarfGnuPubNamesSection () const
 
MCSection * getDwarfGnuPubTypesSection () const
 
const MCSection * getDwarfDebugInlineSection () const
 
MCSection * getDwarfStrSection () const
 
MCSection * getDwarfLocSection () const
 
MCSection * getDwarfARangesSection () const
 
MCSection * getDwarfRangesSection () const
 
MCSection * getDwarfRnglistsSection () const
 
MCSection * getDwarfLoclistsSection () const
 
MCSection * getDwarfMacinfoSection () const
 
MCSection * getDwarfDebugNamesSection () const
 
MCSection * getDwarfAccelNamesSection () const
 
MCSection * getDwarfAccelObjCSection () const
 
MCSection * getDwarfAccelNamespaceSection () const
 
MCSection * getDwarfAccelTypesSection () const
 
MCSection * getDwarfInfoDWOSection () const
 
MCSection * getDwarfTypesSection (uint64_t Hash) const
 
MCSection * getDwarfTypesDWOSection () const
 
MCSection * getDwarfAbbrevDWOSection () const
 
MCSection * getDwarfStrDWOSection () const
 
MCSection * getDwarfLineDWOSection () const
 
MCSection * getDwarfLocDWOSection () const
 
MCSection * getDwarfStrOffDWOSection () const
 
MCSection * getDwarfStrOffSection () const
 
MCSection * getDwarfAddrSection () const
 
MCSection * getDwarfRnglistsDWOSection () const
 
MCSection * getDwarfLoclistsDWOSection () const
 
MCSection * getDwarfMacinfoDWOSection () const
 
MCSection * getDwarfCUIndexSection () const
 
MCSection * getDwarfTUIndexSection () const
 
MCSection * getDwarfSwiftASTSection () const
 
MCSection * getCOFFDebugSymbolsSection () const
 
MCSection * getCOFFDebugTypesSection () const
 
MCSection * getCOFFGlobalTypeHashesSection () const
 
MCSection * getTLSExtraDataSection () const
 
const MCSection * getTLSDataSection () const
 
MCSection * getTLSBSSSection () const
 
MCSection * getStackMapSection () const
 
MCSection * getFaultMapSection () const
 
MCSection * getRemarksSection () const
 
MCSection * getStackSizesSection (const MCSection &TextSec) const
 
MCSection * getDataRelROSection () const
 
const MCSection * getMergeableConst4Section () const
 
const MCSection * getMergeableConst8Section () const
 
const MCSection * getMergeableConst16Section () const
 
const MCSection * getMergeableConst32Section () const
 
const MCSection * getTLSTLVSection () const
 
const MCSection * getTLSThreadInitSection () const
 
const MCSection * getCStringSection () const
 
const MCSection * getUStringSection () const
 
MCSection * getTextCoalSection () const
 
const MCSection * getConstTextCoalSection () const
 
const MCSection * getConstDataSection () const
 
const MCSection * getDataCoalSection () const
 
const MCSection * getConstDataCoalSection () const
 
const MCSection * getDataCommonSection () const
 
MCSection * getDataBSSSection () const
 
const MCSection * getFourByteConstantSection () const
 
const MCSection * getEightByteConstantSection () const
 
const MCSection * getSixteenByteConstantSection () const
 
MCSection * getLazySymbolPointerSection () const
 
MCSection * getNonLazySymbolPointerSection () const
 
MCSection * getThreadLocalPointerSection () const
 
MCSection * getDrectveSection () const
 
MCSection * getPDataSection () const
 
MCSection * getXDataSection () const
 
MCSection * getSXDataSection () const
 
MCSection * getGFIDsSection () const
 
MCSection * getGLJMPSection () const
 
MCSection * getEHFrameSection ()
 
Environment getObjectFileType () const
 
bool isPositionIndependent () const
 
const Triple & getTargetTriple () const
 
void setSDKVersion (const VersionTuple &TheSDKVersion)
 
const VersionTuple & getSDKVersion () const
 

Protected Attributes

bool CommDirectiveSupportsAlignment = false
 True if .comm supports alignment. More...
 
bool SupportsWeakOmittedEHFrame = false
 True if target object file supports a weak_definition of constant 0 for an omitted EH frame. More...
 
bool SupportsCompactUnwindWithoutEHFrame = false
 True if the target object file supports emitting a compact unwind section without an associated EH frame section. More...
 
bool OmitDwarfIfHaveCompactUnwind = false
 OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind. More...
 
unsigned FDECFIEncoding = 0
 FDE CFI encoding. More...
 
unsigned CompactUnwindDwarfEHFrameOnly = 0
 Compact unwind encoding indicating that we should emit only an EH frame. More...
 
MCSection * TextSection = nullptr
 Section directive for standard text. More...
 
MCSection * DataSection = nullptr
 Section directive for standard data. More...
 
MCSection * BSSSection = nullptr
 Section that is default initialized to zero. More...
 
MCSection * ReadOnlySection = nullptr
 Section that is readonly and can contain arbitrary initialized data. More...
 
MCSection * LSDASection = nullptr
 If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to. More...
 
MCSection * CompactUnwindSection = nullptr
 If exception handling is supported by the target and the target can support a compact representation of the CIE and FDE, this is the section to emit them into. More...
 
MCSection * DwarfAbbrevSection = nullptr
 
MCSection * DwarfInfoSection = nullptr
 
MCSection * DwarfLineSection = nullptr
 
MCSection * DwarfLineStrSection = nullptr
 
MCSection * DwarfFrameSection = nullptr
 
MCSection * DwarfPubTypesSection = nullptr
 
const MCSection * DwarfDebugInlineSection = nullptr
 
MCSection * DwarfStrSection = nullptr
 
MCSection * DwarfLocSection = nullptr
 
MCSection * DwarfARangesSection = nullptr
 
MCSection * DwarfRangesSection = nullptr
 
MCSection * DwarfMacinfoSection = nullptr
 
MCSection * DwarfPubNamesSection = nullptr
 
MCSection * DwarfDebugNamesSection = nullptr
 Accelerator table sections. More...
 
MCSection * DwarfAccelNamesSection = nullptr
 
MCSection * DwarfAccelObjCSection = nullptr
 
MCSection * DwarfAccelNamespaceSection = nullptr
 
MCSection * DwarfAccelTypesSection = nullptr
 
MCSection * DwarfInfoDWOSection = nullptr
 
MCSection * DwarfTypesDWOSection = nullptr
 
MCSection * DwarfAbbrevDWOSection = nullptr
 
MCSection * DwarfStrDWOSection = nullptr
 
MCSection * DwarfLineDWOSection = nullptr
 
MCSection * DwarfLocDWOSection = nullptr
 
MCSection * DwarfStrOffDWOSection = nullptr
 
MCSection * DwarfMacinfoDWOSection = nullptr
 
MCSection * DwarfStrOffSection = nullptr
 The DWARF v5 string offset and address table sections. More...
 
MCSection * DwarfAddrSection = nullptr
 
MCSection * DwarfRnglistsSection = nullptr
 The DWARF v5 range list section. More...
 
MCSection * DwarfLoclistsSection = nullptr
 The DWARF v5 locations list section. More...
 
MCSection * DwarfRnglistsDWOSection = nullptr
 The DWARF v5 range and location list sections for fission. More...
 
MCSection * DwarfLoclistsDWOSection = nullptr
 
MCSection * DwarfCUIndexSection = nullptr
 
MCSection * DwarfTUIndexSection = nullptr
 
MCSection * DwarfGnuPubNamesSection = nullptr
 Section for newer gnu pubnames. More...
 
MCSection * DwarfGnuPubTypesSection = nullptr
 Section for newer gnu pubtypes. More...
 
MCSection * DwarfSwiftASTSection = nullptr
 
MCSection * COFFDebugSymbolsSection = nullptr
 
MCSection * COFFDebugTypesSection = nullptr
 
MCSection * COFFGlobalTypeHashesSection = nullptr
 
MCSection * TLSExtraDataSection = nullptr
 Extra TLS Variable Data section. More...
 
MCSection * TLSDataSection = nullptr
 Section directive for Thread Local data. ELF, MachO, COFF, and Wasm. More...
 
MCSection * TLSBSSSection = nullptr
 Section directive for Thread Local uninitialized data. More...
 
MCSection * StackMapSection = nullptr
 StackMap section. More...
 
MCSection * FaultMapSection = nullptr
 FaultMap section. More...
 
MCSection * RemarksSection = nullptr
 Remarks section. More...
 
MCSection * EHFrameSection = nullptr
 EH frame section. More...
 
MCSection * StackSizesSection = nullptr
 Section containing metadata on function stack sizes. More...
 
DenseMap< const MCSymbol *, unsigned > StackSizesUniquing
 
MCSection * DataRelROSection = nullptr
 
MCSection * MergeableConst4Section = nullptr
 
MCSection * MergeableConst8Section = nullptr
 
MCSection * MergeableConst16Section = nullptr
 
MCSection * MergeableConst32Section = nullptr
 
MCSection * TLSTLVSection = nullptr
 Section for thread local structure information. More...
 
const MCSection * TLSThreadInitSection = nullptr
 Section for thread local data initialization functions. More...
 
MCSection * CStringSection = nullptr
 
MCSection * UStringSection = nullptr
 
MCSection * TextCoalSection = nullptr
 
MCSection * ConstTextCoalSection = nullptr
 
MCSection * ConstDataSection = nullptr
 
MCSection * DataCoalSection = nullptr
 
MCSection * ConstDataCoalSection = nullptr
 
MCSection * DataCommonSection = nullptr
 
MCSection * DataBSSSection = nullptr
 
MCSection * FourByteConstantSection = nullptr
 
MCSection * EightByteConstantSection = nullptr
 
MCSection * SixteenByteConstantSection = nullptr
 
MCSection * LazySymbolPointerSection = nullptr
 
MCSection * NonLazySymbolPointerSection = nullptr
 
MCSection * ThreadLocalPointerSection = nullptr
 
MCSection * DrectveSection = nullptr
 COFF specific sections. More...
 
MCSection * PDataSection = nullptr
 
MCSection * XDataSection = nullptr
 
MCSection * SXDataSection = nullptr
 
MCSection * GFIDsSection = nullptr
 
MCSection * GLJMPSection = nullptr
 

Detailed Description

Definition at line 26 of file MCObjectFileInfo.h.

Member Enumeration Documentation

◆ Environment

Enumerator
IsMachO 
IsELF 
IsCOFF 
IsWasm 
IsXCOFF 

Definition at line 398 of file MCObjectFileInfo.h.

Member Function Documentation

◆ getBSSSection()

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

◆ getCOFFDebugSymbolsSection()

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

Definition at line 314 of file MCObjectFileInfo.h.

References COFFDebugSymbolsSection.

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

◆ getCOFFDebugTypesSection()

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

Definition at line 317 of file MCObjectFileInfo.h.

References COFFDebugTypesSection.

Referenced by emitNullTerminatedSymbolName().

◆ getCOFFGlobalTypeHashesSection()

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

Definition at line 320 of file MCObjectFileInfo.h.

References COFFGlobalTypeHashesSection.

Referenced by emitNullTerminatedSymbolName().

◆ getCommDirectiveSupportsAlignment()

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

Definition at line 233 of file MCObjectFileInfo.h.

References CommDirectiveSupportsAlignment.

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

◆ getCompactUnwindDwarfEHFrameOnly()

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

◆ getCompactUnwindSection()

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

Definition at line 248 of file MCObjectFileInfo.h.

References CompactUnwindSection.

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

◆ getConstDataCoalSection()

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

Definition at line 362 of file MCObjectFileInfo.h.

References ConstDataCoalSection.

◆ getConstDataSection()

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

Definition at line 360 of file MCObjectFileInfo.h.

References ConstDataSection.

◆ getConstTextCoalSection()

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

Definition at line 357 of file MCObjectFileInfo.h.

References ConstTextCoalSection.

◆ getCStringSection()

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

Definition at line 354 of file MCObjectFileInfo.h.

References CStringSection.

◆ getDataBSSSection()

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

Definition at line 366 of file MCObjectFileInfo.h.

References DataBSSSection.

◆ getDataCoalSection()

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

Definition at line 361 of file MCObjectFileInfo.h.

References DataCoalSection.

◆ getDataCommonSection()

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

Definition at line 365 of file MCObjectFileInfo.h.

References DataCommonSection.

◆ getDataRelROSection()

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

Definition at line 335 of file MCObjectFileInfo.h.

References DataRelROSection.

◆ getDataSection()

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

◆ getDrectveSection()

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

◆ getDwarfAbbrevDWOSection()

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

Definition at line 294 of file MCObjectFileInfo.h.

References DwarfAbbrevDWOSection.

Referenced by emitRangeList(), and isDwarfSection().

◆ getDwarfAbbrevSection()

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

◆ getDwarfAccelNamespaceSection()

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

Definition at line 283 of file MCObjectFileInfo.h.

References DwarfAccelNamespaceSection.

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

◆ getDwarfAccelNamesSection()

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

Definition at line 279 of file MCObjectFileInfo.h.

References DwarfAccelNamesSection.

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

◆ getDwarfAccelObjCSection()

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

Definition at line 282 of file MCObjectFileInfo.h.

References DwarfAccelObjCSection.

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

◆ getDwarfAccelTypesSection()

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

Definition at line 286 of file MCObjectFileInfo.h.

References DwarfAccelTypesSection.

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

◆ getDwarfAddrSection()

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

◆ getDwarfARangesSection()

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

◆ getDwarfCUIndexSection()

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

Definition at line 310 of file MCObjectFileInfo.h.

References DwarfCUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfDebugInlineSection()

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

Definition at line 265 of file MCObjectFileInfo.h.

References DwarfDebugInlineSection.

Referenced by isDwarfSection().

◆ getDwarfDebugNamesSection()

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

Definition at line 276 of file MCObjectFileInfo.h.

References DwarfDebugNamesSection.

Referenced by llvm::emitDWARF5AccelTable(), and isDwarfSection().

◆ getDwarfFrameSection()

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

Definition at line 256 of file MCObjectFileInfo.h.

References DwarfFrameSection.

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

◆ getDwarfGnuPubNamesSection()

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

Definition at line 259 of file MCObjectFileInfo.h.

References DwarfGnuPubNamesSection.

Referenced by computeIndexValue(), and isDwarfSection().

◆ getDwarfGnuPubTypesSection()

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

Definition at line 262 of file MCObjectFileInfo.h.

References DwarfGnuPubTypesSection.

Referenced by computeIndexValue(), and isDwarfSection().

◆ getDwarfInfoDWOSection()

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

Definition at line 289 of file MCObjectFileInfo.h.

References DwarfInfoDWOSection.

Referenced by 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 251 of file MCObjectFileInfo.h.

◆ getDwarfLineDWOSection()

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

Definition at line 296 of file MCObjectFileInfo.h.

References DwarfLineDWOSection.

Referenced by emitRangeList(), and 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 297 of file MCObjectFileInfo.h.

References DwarfLocDWOSection.

Referenced by emitLocList(), and isDwarfSection().

◆ getDwarfLoclistsDWOSection()

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

Definition at line 304 of file MCObjectFileInfo.h.

References DwarfLoclistsDWOSection.

Referenced by emitLocList().

◆ getDwarfLoclistsSection()

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

Definition at line 273 of file MCObjectFileInfo.h.

References DwarfLoclistsSection.

Referenced by llvm::DwarfDebug::beginModule(), and emitLocList().

◆ getDwarfLocSection()

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

Definition at line 269 of file MCObjectFileInfo.h.

References DwarfLocSection.

Referenced by emitLocList(), and isDwarfSection().

◆ getDwarfMacinfoDWOSection()

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

Definition at line 307 of file MCObjectFileInfo.h.

References DwarfMacinfoDWOSection.

Referenced by llvm::DwarfDebug::beginModule(), and emitRangeList().

◆ getDwarfMacinfoSection()

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

Definition at line 274 of file MCObjectFileInfo.h.

References DwarfMacinfoSection.

Referenced by llvm::DwarfDebug::beginModule(), emitRangeList(), and isDwarfSection().

◆ getDwarfPubNamesSection()

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

Definition at line 257 of file MCObjectFileInfo.h.

References DwarfPubNamesSection.

Referenced by computeIndexValue(), and isDwarfSection().

◆ getDwarfPubTypesSection()

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

Definition at line 258 of file MCObjectFileInfo.h.

References DwarfPubTypesSection.

Referenced by computeIndexValue(), and isDwarfSection().

◆ getDwarfRangesSection()

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

◆ getDwarfRnglistsDWOSection()

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

Definition at line 301 of file MCObjectFileInfo.h.

References DwarfRnglistsDWOSection.

Referenced by emitRangeList().

◆ getDwarfRnglistsSection()

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

Definition at line 272 of file MCObjectFileInfo.h.

References DwarfRnglistsSection.

Referenced by emitRangeList().

◆ getDwarfStrDWOSection()

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

Definition at line 295 of file MCObjectFileInfo.h.

References DwarfStrDWOSection.

Referenced by emitRangeList(), and isDwarfSection().

◆ getDwarfStrOffDWOSection()

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

Definition at line 298 of file MCObjectFileInfo.h.

References DwarfStrOffDWOSection.

Referenced by emitRangeList(), and isDwarfSection().

◆ getDwarfStrOffSection()

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

◆ getDwarfStrSection()

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

Definition at line 268 of file MCObjectFileInfo.h.

References DwarfStrSection.

Referenced by computeIndexValue(), and isDwarfSection().

◆ getDwarfSwiftASTSection()

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

Definition at line 312 of file MCObjectFileInfo.h.

References DwarfSwiftASTSection.

Referenced by isDwarfSection().

◆ getDwarfTUIndexSection()

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

Definition at line 311 of file MCObjectFileInfo.h.

References DwarfTUIndexSection.

Referenced by isDwarfSection().

◆ getDwarfTypesDWOSection()

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

Definition at line 293 of file MCObjectFileInfo.h.

References DwarfTypesDWOSection.

Referenced by isDwarfSection().

◆ getDwarfTypesSection()

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

Definition at line 290 of file MCObjectFileInfo.h.

◆ getEHFrameSection()

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

Definition at line 394 of file MCObjectFileInfo.h.

References EHFrameSection.

◆ getEightByteConstantSection()

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

Definition at line 370 of file MCObjectFileInfo.h.

References EightByteConstantSection.

◆ getFaultMapSection()

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

Definition at line 329 of file MCObjectFileInfo.h.

References FaultMapSection.

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

◆ getFDEEncoding()

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

Definition at line 237 of file MCObjectFileInfo.h.

References FDECFIEncoding.

Referenced by emitEncodingByte(), and getCIEVersion().

◆ getFourByteConstantSection()

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

Definition at line 367 of file MCObjectFileInfo.h.

References FourByteConstantSection.

◆ getGFIDsSection()

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

Definition at line 391 of file MCObjectFileInfo.h.

References GFIDsSection.

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

◆ getGLJMPSection()

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

Definition at line 392 of file MCObjectFileInfo.h.

References GLJMPSection.

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

◆ getLazySymbolPointerSection()

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

Definition at line 376 of file MCObjectFileInfo.h.

References LazySymbolPointerSection.

◆ getLSDASection()

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

Definition at line 247 of file MCObjectFileInfo.h.

References LSDASection.

Referenced by llvm::EHStreamer::emitExceptionTable().

◆ getMergeableConst16Section()

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

Definition at line 342 of file MCObjectFileInfo.h.

References MergeableConst16Section.

◆ getMergeableConst32Section()

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

Definition at line 345 of file MCObjectFileInfo.h.

References MergeableConst32Section.

◆ getMergeableConst4Section()

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

Definition at line 336 of file MCObjectFileInfo.h.

References MergeableConst4Section.

◆ getMergeableConst8Section()

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

Definition at line 339 of file MCObjectFileInfo.h.

References MergeableConst8Section.

◆ getNonLazySymbolPointerSection()

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

Definition at line 379 of file MCObjectFileInfo.h.

References NonLazySymbolPointerSection.

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

◆ getObjectFileType()

Environment llvm::MCObjectFileInfo::getObjectFileType ( ) const
inline

Definition at line 399 of file MCObjectFileInfo.h.

Referenced by llvm::MCContext::getOrCreateLSDASymbol().

◆ getOmitDwarfIfHaveCompactUnwind()

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

Definition at line 229 of file MCObjectFileInfo.h.

References OmitDwarfIfHaveCompactUnwind.

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

◆ getPDataSection()

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

Definition at line 388 of file MCObjectFileInfo.h.

References PDataSection.

◆ getReadOnlySection()

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

Definition at line 246 of file MCObjectFileInfo.h.

References ReadOnlySection.

◆ getRemarksSection()

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

Definition at line 330 of file MCObjectFileInfo.h.

References getStackSizesSection(), and RemarksSection.

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

◆ getSDKVersion()

const VersionTuple& llvm::MCObjectFileInfo::getSDKVersion ( ) const
inline

Definition at line 424 of file MCObjectFileInfo.h.

Referenced by llvm::createMachOStreamer().

◆ getSixteenByteConstantSection()

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

Definition at line 373 of file MCObjectFileInfo.h.

References SixteenByteConstantSection.

◆ getStackMapSection()

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

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

References SupportsCompactUnwindWithoutEHFrame.

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

◆ getSupportsWeakOmittedEHFrame()

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

Definition at line 223 of file MCObjectFileInfo.h.

References SupportsWeakOmittedEHFrame.

◆ getSXDataSection()

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

Definition at line 390 of file MCObjectFileInfo.h.

References SXDataSection.

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

◆ getTargetTriple()

const Triple& llvm::MCObjectFileInfo::getTargetTriple ( ) const
inline

◆ getTextCoalSection()

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

Definition at line 356 of file MCObjectFileInfo.h.

References TextCoalSection.

◆ getTextSection()

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

◆ getThreadLocalPointerSection()

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

Definition at line 382 of file MCObjectFileInfo.h.

References ThreadLocalPointerSection.

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

◆ getTLSBSSSection()

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

Definition at line 326 of file MCObjectFileInfo.h.

References TLSBSSSection.

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

◆ getTLSDataSection()

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

Definition at line 325 of file MCObjectFileInfo.h.

References TLSDataSection.

◆ getTLSExtraDataSection()

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

Definition at line 324 of file MCObjectFileInfo.h.

References TLSExtraDataSection.

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

◆ getTLSThreadInitSection()

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

Definition at line 351 of file MCObjectFileInfo.h.

References TLSThreadInitSection.

◆ getTLSTLVSection()

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

Definition at line 350 of file MCObjectFileInfo.h.

References TLSTLVSection.

◆ getUStringSection()

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

Definition at line 355 of file MCObjectFileInfo.h.

References UStringSection.

◆ getXDataSection()

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

Definition at line 389 of file MCObjectFileInfo.h.

References XDataSection.

◆ InitMCObjectFileInfo()

void MCObjectFileInfo::InitMCObjectFileInfo ( const Triple &  TT,
bool  PIC,
MCContext &  ctx,
bool  LargeCodeModel = false 
)

◆ isPositionIndependent()

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

◆ setSDKVersion()

void llvm::MCObjectFileInfo::setSDKVersion ( const VersionTuple &  TheSDKVersion)
inline

Definition at line 420 of file MCObjectFileInfo.h.

Member Data Documentation

◆ 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(), and useCompactUnwind().

◆ COFFDebugTypesSection

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

Definition at line 141 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugTypesSection(), and useCompactUnwind().

◆ COFFGlobalTypeHashesSection

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

Definition at line 142 of file MCObjectFileInfo.h.

Referenced by getCOFFGlobalTypeHashesSection(), and useCompactUnwind().

◆ CommDirectiveSupportsAlignment

bool llvm::MCObjectFileInfo::CommDirectiveSupportsAlignment = false
protected

True if .comm supports alignment.

This is a hack for as long as we support 10.4 Tiger, whose assembler doesn't support alignment on comm.

Definition at line 30 of file MCObjectFileInfo.h.

Referenced by getCommDirectiveSupportsAlignment(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ CompactUnwindDwarfEHFrameOnly

unsigned llvm::MCObjectFileInfo::CompactUnwindDwarfEHFrameOnly = 0
protected

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

Definition at line 52 of file MCObjectFileInfo.h.

Referenced by getCompactUnwindDwarfEHFrameOnly(), InitMCObjectFileInfo(), and useCompactUnwind().

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

Referenced by getCompactUnwindSection(), InitMCObjectFileInfo(), and useCompactUnwind().

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

Referenced by getDrectveSection(), and useCompactUnwind().

◆ DwarfAbbrevDWOSection

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

Definition at line 109 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevDWOSection(), and useCompactUnwind().

◆ DwarfAbbrevSection

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

Definition at line 80 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevSection(), and useCompactUnwind().

◆ DwarfAccelNamespaceSection

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

◆ DwarfAccelNamesSection

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

◆ DwarfAccelObjCSection

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

◆ DwarfAccelTypesSection

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

◆ DwarfAddrSection

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

Definition at line 118 of file MCObjectFileInfo.h.

Referenced by getDwarfAddrSection(), and useCompactUnwind().

◆ DwarfARangesSection

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

Definition at line 89 of file MCObjectFileInfo.h.

Referenced by getDwarfARangesSection(), and useCompactUnwind().

◆ DwarfCUIndexSection

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

Definition at line 129 of file MCObjectFileInfo.h.

Referenced by getDwarfCUIndexSection(), and useCompactUnwind().

◆ DwarfDebugInlineSection

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

Definition at line 86 of file MCObjectFileInfo.h.

Referenced by getDwarfDebugInlineSection(), and useCompactUnwind().

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

Referenced by getDwarfDebugNamesSection(), and useCompactUnwind().

◆ DwarfFrameSection

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

Definition at line 84 of file MCObjectFileInfo.h.

Referenced by getDwarfFrameSection(), and useCompactUnwind().

◆ DwarfGnuPubNamesSection

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

Section for newer gnu pubnames.

Definition at line 133 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubNamesSection(), and useCompactUnwind().

◆ DwarfGnuPubTypesSection

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

Section for newer gnu pubtypes.

Definition at line 135 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubTypesSection(), and useCompactUnwind().

◆ DwarfInfoDWOSection

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

Definition at line 107 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoDWOSection(), and useCompactUnwind().

◆ DwarfInfoSection

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

Definition at line 81 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoSection(), and useCompactUnwind().

◆ DwarfLineDWOSection

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

Definition at line 111 of file MCObjectFileInfo.h.

Referenced by getDwarfLineDWOSection(), and useCompactUnwind().

◆ DwarfLineSection

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

Definition at line 82 of file MCObjectFileInfo.h.

Referenced by getDwarfLineSection(), and useCompactUnwind().

◆ DwarfLineStrSection

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

Definition at line 83 of file MCObjectFileInfo.h.

Referenced by getDwarfLineStrSection(), and useCompactUnwind().

◆ DwarfLocDWOSection

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

Definition at line 112 of file MCObjectFileInfo.h.

Referenced by getDwarfLocDWOSection(), and useCompactUnwind().

◆ DwarfLoclistsDWOSection

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

Definition at line 126 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsDWOSection(), and useCompactUnwind().

◆ DwarfLoclistsSection

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

The DWARF v5 locations list section.

Definition at line 122 of file MCObjectFileInfo.h.

Referenced by getDwarfLoclistsSection(), and useCompactUnwind().

◆ DwarfLocSection

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

Definition at line 88 of file MCObjectFileInfo.h.

Referenced by getDwarfLocSection(), and useCompactUnwind().

◆ DwarfMacinfoDWOSection

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

Definition at line 114 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoDWOSection(), and useCompactUnwind().

◆ DwarfMacinfoSection

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

Definition at line 91 of file MCObjectFileInfo.h.

Referenced by getDwarfMacinfoSection(), and useCompactUnwind().

◆ DwarfPubNamesSection

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

Definition at line 94 of file MCObjectFileInfo.h.

Referenced by getDwarfPubNamesSection(), and useCompactUnwind().

◆ DwarfPubTypesSection

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

Definition at line 85 of file MCObjectFileInfo.h.

Referenced by getDwarfPubTypesSection(), and useCompactUnwind().

◆ DwarfRangesSection

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

Definition at line 90 of file MCObjectFileInfo.h.

Referenced by getDwarfRangesSection(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ DwarfRnglistsSection

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

The DWARF v5 range list section.

Definition at line 120 of file MCObjectFileInfo.h.

Referenced by getDwarfRnglistsSection(), and useCompactUnwind().

◆ DwarfStrDWOSection

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

Definition at line 110 of file MCObjectFileInfo.h.

Referenced by getDwarfStrDWOSection(), and useCompactUnwind().

◆ DwarfStrOffDWOSection

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

Definition at line 113 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffDWOSection(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ DwarfStrSection

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

Definition at line 87 of file MCObjectFileInfo.h.

Referenced by getDwarfStrSection(), and useCompactUnwind().

◆ DwarfSwiftASTSection

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

Definition at line 138 of file MCObjectFileInfo.h.

Referenced by getDwarfSwiftASTSection(), and useCompactUnwind().

◆ DwarfTUIndexSection

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

Definition at line 130 of file MCObjectFileInfo.h.

Referenced by getDwarfTUIndexSection(), and useCompactUnwind().

◆ DwarfTypesDWOSection

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

Definition at line 108 of file MCObjectFileInfo.h.

Referenced by getDwarfTypesDWOSection(), and useCompactUnwind().

◆ 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(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ FDECFIEncoding

unsigned llvm::MCObjectFileInfo::FDECFIEncoding = 0
protected

FDE CFI encoding.

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

Definition at line 49 of file MCObjectFileInfo.h.

Referenced by getFDEEncoding(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ FourByteConstantSection

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

◆ GFIDsSection

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

Definition at line 216 of file MCObjectFileInfo.h.

Referenced by getGFIDsSection(), and useCompactUnwind().

◆ GLJMPSection

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

Definition at line 217 of file MCObjectFileInfo.h.

Referenced by getGLJMPSection(), and useCompactUnwind().

◆ LazySymbolPointerSection

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

Definition at line 207 of file MCObjectFileInfo.h.

Referenced by getLazySymbolPointerSection(), and useCompactUnwind().

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

Referenced by getLSDASection(), and useCompactUnwind().

◆ MergeableConst16Section

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

◆ MergeableConst32Section

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

Definition at line 181 of file MCObjectFileInfo.h.

Referenced by getMergeableConst32Section(), and useCompactUnwind().

◆ MergeableConst4Section

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

◆ MergeableConst8Section

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

◆ NonLazySymbolPointerSection

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

Definition at line 208 of file MCObjectFileInfo.h.

Referenced by getNonLazySymbolPointerSection(), and useCompactUnwind().

◆ OmitDwarfIfHaveCompactUnwind

bool llvm::MCObjectFileInfo::OmitDwarfIfHaveCompactUnwind = false
protected

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

Definition at line 43 of file MCObjectFileInfo.h.

Referenced by getOmitDwarfIfHaveCompactUnwind(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ PDataSection

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

Definition at line 213 of file MCObjectFileInfo.h.

Referenced by getPDataSection(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ StackSizesUniquing

DenseMap<const MCSymbol *, unsigned> llvm::MCObjectFileInfo::StackSizesUniquing
mutableprotected

Definition at line 174 of file MCObjectFileInfo.h.

Referenced by getStackSizesSection().

◆ SupportsCompactUnwindWithoutEHFrame

bool llvm::MCObjectFileInfo::SupportsCompactUnwindWithoutEHFrame = false
protected

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

Definition at line 38 of file MCObjectFileInfo.h.

Referenced by getSupportsCompactUnwindWithoutEHFrame(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ SupportsWeakOmittedEHFrame

bool llvm::MCObjectFileInfo::SupportsWeakOmittedEHFrame = false
protected

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

Definition at line 34 of file MCObjectFileInfo.h.

Referenced by getSupportsWeakOmittedEHFrame(), InitMCObjectFileInfo(), and useCompactUnwind().

◆ SXDataSection

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

Definition at line 215 of file MCObjectFileInfo.h.

Referenced by getSXDataSection(), and useCompactUnwind().

◆ TextCoalSection

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

◆ TextSection

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

◆ ThreadLocalPointerSection

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

Definition at line 209 of file MCObjectFileInfo.h.

Referenced by getThreadLocalPointerSection(), and useCompactUnwind().

◆ 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(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().

◆ 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(), and useCompactUnwind().

◆ TLSThreadInitSection

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

Section for thread local data initialization functions.

Definition at line 193 of file MCObjectFileInfo.h.

Referenced by getTLSThreadInitSection(), and useCompactUnwind().

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

Referenced by getTLSTLVSection(), and useCompactUnwind().

◆ UStringSection

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

◆ XDataSection

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

Definition at line 214 of file MCObjectFileInfo.h.

Referenced by getXDataSection(), and useCompactUnwind().


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