LLVM  5.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 }
 

Public Member Functions

void InitMCObjectFileInfo (const Triple &TT, bool PIC, CodeModel::Model CM, MCContext &ctx)
 
bool getSupportsWeakOmittedEHFrame () const
 
bool getSupportsCompactUnwindWithoutEHFrame () const
 
bool getOmitDwarfIfHaveCompactUnwind () const
 
bool getCommDirectiveSupportsAlignment () const
 
unsigned getPersonalityEncoding () const
 
unsigned getLSDAEncoding () const
 
unsigned getFDEEncoding () const
 
unsigned getTTypeEncoding () 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 * getDwarfLineSection () 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 * getDwarfMacinfoSection () 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 * getDwarfCUIndexSection () const
 
MCSection * getDwarfTUIndexSection () const
 
MCSection * getCOFFDebugSymbolsSection () const
 
MCSection * getCOFFDebugTypesSection () const
 
MCSection * getTLSExtraDataSection () const
 
const MCSection * getTLSDataSection () const
 
MCSection * getTLSBSSSection () const
 
MCSection * getStackMapSection () const
 
MCSection * getFaultMapSection () 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 * 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 * getEHFrameSection ()
 
Environment getObjectFileType () const
 
bool isPositionIndependent () const
 
const Triple & getTargetTriple () const
 

Protected Attributes

bool CommDirectiveSupportsAlignment
 True if .comm supports alignment. More...
 
bool SupportsWeakOmittedEHFrame
 True if target object file supports a weak_definition of constant 0 for an omitted EH frame. More...
 
bool SupportsCompactUnwindWithoutEHFrame
 True if the target object file supports emitting a compact unwind section without an associated EH frame section. More...
 
bool OmitDwarfIfHaveCompactUnwind
 OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind. More...
 
unsigned PersonalityEncoding
 PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values for EH. More...
 
unsigned LSDAEncoding
 
unsigned FDECFIEncoding
 
unsigned TTypeEncoding
 
unsigned CompactUnwindDwarfEHFrameOnly
 Compact unwind encoding indicating that we should emit only an EH frame. More...
 
MCSection * TextSection
 Section directive for standard text. More...
 
MCSection * DataSection
 Section directive for standard data. More...
 
MCSection * BSSSection
 Section that is default initialized to zero. More...
 
MCSection * ReadOnlySection
 Section that is readonly and can contain arbitrary initialized data. More...
 
MCSection * LSDASection
 If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to. More...
 
MCSection * CompactUnwindSection
 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
 
MCSection * DwarfInfoSection
 
MCSection * DwarfLineSection
 
MCSection * DwarfFrameSection
 
MCSection * DwarfPubTypesSection
 
const MCSection * DwarfDebugInlineSection
 
MCSection * DwarfStrSection
 
MCSection * DwarfLocSection
 
MCSection * DwarfARangesSection
 
MCSection * DwarfRangesSection
 
MCSection * DwarfMacinfoSection
 
MCSection * DwarfPubNamesSection
 
MCSection * DwarfAccelNamesSection
 DWARF5 Experimental Debug Info Sections DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelNamespaceSection, DwarfAccelTypesSection - If we use the DWARF accelerated hash tables then we want to emit these sections. More...
 
MCSection * DwarfAccelObjCSection
 
MCSection * DwarfAccelNamespaceSection
 
MCSection * DwarfAccelTypesSection
 
MCSection * DwarfInfoDWOSection
 
MCSection * DwarfTypesDWOSection
 
MCSection * DwarfAbbrevDWOSection
 
MCSection * DwarfStrDWOSection
 
MCSection * DwarfLineDWOSection
 
MCSection * DwarfLocDWOSection
 
MCSection * DwarfStrOffDWOSection
 
MCSection * DwarfStrOffSection
 The DWARF v5 string offset and address table sections. More...
 
MCSection * DwarfAddrSection
 
MCSection * DwarfCUIndexSection
 
MCSection * DwarfTUIndexSection
 
MCSection * DwarfGnuPubNamesSection
 Section for newer gnu pubnames. More...
 
MCSection * DwarfGnuPubTypesSection
 Section for newer gnu pubtypes. More...
 
MCSection * COFFDebugSymbolsSection
 
MCSection * COFFDebugTypesSection
 
MCSection * TLSExtraDataSection
 Extra TLS Variable Data section. More...
 
MCSection * TLSDataSection
 Section directive for Thread Local data. ELF, MachO, COFF, and Wasm. More...
 
MCSection * TLSBSSSection
 Section directive for Thread Local uninitialized data. More...
 
MCSection * StackMapSection
 StackMap section. More...
 
MCSection * FaultMapSection
 FaultMap section. More...
 
MCSection * EHFrameSection
 EH frame section. More...
 
MCSection * DataRelROSection
 
MCSection * MergeableConst4Section
 
MCSection * MergeableConst8Section
 
MCSection * MergeableConst16Section
 
MCSection * MergeableConst32Section
 
MCSection * TLSTLVSection
 Section for thread local structure information. More...
 
const MCSection * TLSThreadInitSection
 Section for thread local data initialization functions. More...
 
MCSection * CStringSection
 
MCSection * UStringSection
 
MCSection * TextCoalSection
 
MCSection * ConstTextCoalSection
 
MCSection * ConstDataSection
 
MCSection * DataCoalSection
 
MCSection * DataCommonSection
 
MCSection * DataBSSSection
 
MCSection * FourByteConstantSection
 
MCSection * EightByteConstantSection
 
MCSection * SixteenByteConstantSection
 
MCSection * LazySymbolPointerSection
 
MCSection * NonLazySymbolPointerSection
 
MCSection * ThreadLocalPointerSection
 
MCSection * DrectveSection
 COFF specific sections. More...
 
MCSection * PDataSection
 
MCSection * XDataSection
 
MCSection * SXDataSection
 

Detailed Description

Definition at line 24 of file MCObjectFileInfo.h.

Member Enumeration Documentation

Enumerator
IsMachO 
IsELF 
IsCOFF 
IsWasm 

Definition at line 345 of file MCObjectFileInfo.h.

Member Function Documentation

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

Definition at line 271 of file MCObjectFileInfo.h.

References COFFDebugSymbolsSection.

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

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

Definition at line 274 of file MCObjectFileInfo.h.

References COFFDebugTypesSection.

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

Definition at line 207 of file MCObjectFileInfo.h.

References CommDirectiveSupportsAlignment.

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

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

Definition at line 216 of file MCObjectFileInfo.h.

References CompactUnwindDwarfEHFrameOnly.

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

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

Definition at line 225 of file MCObjectFileInfo.h.

References CompactUnwindSection.

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

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

Definition at line 312 of file MCObjectFileInfo.h.

References ConstDataSection.

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

Definition at line 309 of file MCObjectFileInfo.h.

References ConstTextCoalSection.

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

Definition at line 306 of file MCObjectFileInfo.h.

References CStringSection.

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

Definition at line 315 of file MCObjectFileInfo.h.

References DataBSSSection.

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

Definition at line 313 of file MCObjectFileInfo.h.

References DataCoalSection.

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

Definition at line 314 of file MCObjectFileInfo.h.

References DataCommonSection.

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

Definition at line 287 of file MCObjectFileInfo.h.

References DataRelROSection.

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

Definition at line 261 of file MCObjectFileInfo.h.

References DwarfAbbrevDWOSection.

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

Definition at line 252 of file MCObjectFileInfo.h.

References DwarfAccelNamespaceSection.

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

Definition at line 248 of file MCObjectFileInfo.h.

References DwarfAccelNamesSection.

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

Definition at line 251 of file MCObjectFileInfo.h.

References DwarfAccelObjCSection.

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

Definition at line 255 of file MCObjectFileInfo.h.

References DwarfAccelTypesSection.

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

Definition at line 267 of file MCObjectFileInfo.h.

References DwarfAddrSection.

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

Definition at line 243 of file MCObjectFileInfo.h.

References DwarfARangesSection.

Referenced by llvm::MCGenDwarfInfo::Emit(), and EmitGenDwarfAranges().

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

Definition at line 268 of file MCObjectFileInfo.h.

References DwarfCUIndexSection.

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

Definition at line 238 of file MCObjectFileInfo.h.

References DwarfDebugInlineSection.

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

Definition at line 229 of file MCObjectFileInfo.h.

References DwarfFrameSection.

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

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

Definition at line 232 of file MCObjectFileInfo.h.

References DwarfGnuPubNamesSection.

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

Definition at line 235 of file MCObjectFileInfo.h.

References DwarfGnuPubTypesSection.

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

Definition at line 258 of file MCObjectFileInfo.h.

References DwarfInfoDWOSection.

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

Definition at line 227 of file MCObjectFileInfo.h.

References DwarfInfoSection.

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

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

Definition at line 263 of file MCObjectFileInfo.h.

References DwarfLineDWOSection.

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

Definition at line 264 of file MCObjectFileInfo.h.

References DwarfLocDWOSection.

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

Definition at line 242 of file MCObjectFileInfo.h.

References DwarfLocSection.

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

Definition at line 245 of file MCObjectFileInfo.h.

References DwarfMacinfoSection.

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

Definition at line 230 of file MCObjectFileInfo.h.

References DwarfPubNamesSection.

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

Definition at line 231 of file MCObjectFileInfo.h.

References DwarfPubTypesSection.

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

Definition at line 262 of file MCObjectFileInfo.h.

References DwarfStrDWOSection.

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

Definition at line 265 of file MCObjectFileInfo.h.

References DwarfStrOffDWOSection.

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

Definition at line 266 of file MCObjectFileInfo.h.

References DwarfStrOffSection.

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

Definition at line 241 of file MCObjectFileInfo.h.

References DwarfStrSection.

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

Definition at line 269 of file MCObjectFileInfo.h.

References DwarfTUIndexSection.

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

Definition at line 260 of file MCObjectFileInfo.h.

References DwarfTypesDWOSection.

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

Definition at line 341 of file MCObjectFileInfo.h.

References EHFrameSection.

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

Definition at line 319 of file MCObjectFileInfo.h.

References EightByteConstantSection.

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

Definition at line 284 of file MCObjectFileInfo.h.

References FaultMapSection.

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

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

Definition at line 213 of file MCObjectFileInfo.h.

References FDECFIEncoding.

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

Definition at line 316 of file MCObjectFileInfo.h.

References FourByteConstantSection.

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

Definition at line 325 of file MCObjectFileInfo.h.

References LazySymbolPointerSection.

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

Definition at line 224 of file MCObjectFileInfo.h.

References LSDASection.

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

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

Definition at line 294 of file MCObjectFileInfo.h.

References MergeableConst16Section.

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

Definition at line 297 of file MCObjectFileInfo.h.

References MergeableConst32Section.

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

Definition at line 288 of file MCObjectFileInfo.h.

References MergeableConst4Section.

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

Definition at line 291 of file MCObjectFileInfo.h.

References MergeableConst8Section.

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

Definition at line 328 of file MCObjectFileInfo.h.

References NonLazySymbolPointerSection.

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

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

Definition at line 346 of file MCObjectFileInfo.h.

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

Definition at line 203 of file MCObjectFileInfo.h.

References OmitDwarfIfHaveCompactUnwind.

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

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

Definition at line 337 of file MCObjectFileInfo.h.

References PDataSection.

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

Definition at line 223 of file MCObjectFileInfo.h.

References ReadOnlySection.

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

Definition at line 322 of file MCObjectFileInfo.h.

References SixteenByteConstantSection.

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

Definition at line 283 of file MCObjectFileInfo.h.

References StackMapSection.

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

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

Definition at line 200 of file MCObjectFileInfo.h.

References SupportsCompactUnwindWithoutEHFrame.

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

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

Definition at line 197 of file MCObjectFileInfo.h.

References SupportsWeakOmittedEHFrame.

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

Definition at line 339 of file MCObjectFileInfo.h.

References SXDataSection.

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

const Triple& llvm::MCObjectFileInfo::getTargetTriple ( ) const
inline
MCSection* llvm::MCObjectFileInfo::getTextCoalSection ( ) const
inline

Definition at line 308 of file MCObjectFileInfo.h.

References TextCoalSection.

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

Definition at line 331 of file MCObjectFileInfo.h.

References ThreadLocalPointerSection.

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

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

Definition at line 281 of file MCObjectFileInfo.h.

References TLSBSSSection.

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

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

Definition at line 280 of file MCObjectFileInfo.h.

References TLSDataSection.

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

Definition at line 279 of file MCObjectFileInfo.h.

References TLSExtraDataSection.

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

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

Definition at line 303 of file MCObjectFileInfo.h.

References TLSThreadInitSection.

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

Definition at line 302 of file MCObjectFileInfo.h.

References TLSTLVSection.

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

Definition at line 214 of file MCObjectFileInfo.h.

References TTypeEncoding.

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

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

Definition at line 307 of file MCObjectFileInfo.h.

References UStringSection.

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

Definition at line 338 of file MCObjectFileInfo.h.

References XDataSection.

void MCObjectFileInfo::InitMCObjectFileInfo ( const Triple &  TT,
bool  PIC,
CodeModel::Model  CM,
MCContext &  ctx 
)
bool llvm::MCObjectFileInfo::isPositionIndependent ( ) const
inline

Member Data Documentation

MCSection* llvm::MCObjectFileInfo::BSSSection
protected
MCSection* llvm::MCObjectFileInfo::COFFDebugSymbolsSection
protected

Definition at line 126 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugSymbolsSection().

MCSection* llvm::MCObjectFileInfo::COFFDebugTypesSection
protected

Definition at line 127 of file MCObjectFileInfo.h.

Referenced by getCOFFDebugTypesSection().

bool llvm::MCObjectFileInfo::CommDirectiveSupportsAlignment
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 28 of file MCObjectFileInfo.h.

Referenced by getCommDirectiveSupportsAlignment(), and InitMCObjectFileInfo().

unsigned llvm::MCObjectFileInfo::CompactUnwindDwarfEHFrameOnly
protected

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

Definition at line 51 of file MCObjectFileInfo.h.

Referenced by getCompactUnwindDwarfEHFrameOnly(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::CompactUnwindSection
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 75 of file MCObjectFileInfo.h.

Referenced by getCompactUnwindSection(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::ConstDataSection
protected
MCSection* llvm::MCObjectFileInfo::ConstTextCoalSection
protected
MCSection* llvm::MCObjectFileInfo::CStringSection
protected
MCSection* llvm::MCObjectFileInfo::DataBSSSection
protected
MCSection* llvm::MCObjectFileInfo::DataCoalSection
protected
MCSection* llvm::MCObjectFileInfo::DataCommonSection
protected
MCSection* llvm::MCObjectFileInfo::DataRelROSection
protected
MCSection* llvm::MCObjectFileInfo::DataSection
protected
MCSection* llvm::MCObjectFileInfo::DrectveSection
protected

COFF specific sections.

Definition at line 188 of file MCObjectFileInfo.h.

Referenced by getDrectveSection().

MCSection* llvm::MCObjectFileInfo::DwarfAbbrevDWOSection
protected

Definition at line 107 of file MCObjectFileInfo.h.

Referenced by getDwarfAbbrevDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfAbbrevSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfAccelNamespaceSection
protected

Definition at line 101 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamespaceSection(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::DwarfAccelNamesSection
protected

DWARF5 Experimental Debug Info Sections DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelNamespaceSection, DwarfAccelTypesSection - If we use the DWARF accelerated hash tables then we want to emit these sections.

Definition at line 99 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelNamesSection(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::DwarfAccelObjCSection
protected

Definition at line 100 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelObjCSection(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::DwarfAccelTypesSection
protected

Definition at line 102 of file MCObjectFileInfo.h.

Referenced by getDwarfAccelTypesSection(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::DwarfAddrSection
protected

Definition at line 115 of file MCObjectFileInfo.h.

Referenced by getDwarfAddrSection().

MCSection* llvm::MCObjectFileInfo::DwarfARangesSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfCUIndexSection
protected

Definition at line 118 of file MCObjectFileInfo.h.

Referenced by getDwarfCUIndexSection().

const MCSection* llvm::MCObjectFileInfo::DwarfDebugInlineSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfFrameSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfGnuPubNamesSection
protected

Section for newer gnu pubnames.

Definition at line 122 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubNamesSection().

MCSection* llvm::MCObjectFileInfo::DwarfGnuPubTypesSection
protected

Section for newer gnu pubtypes.

Definition at line 124 of file MCObjectFileInfo.h.

Referenced by getDwarfGnuPubTypesSection().

MCSection* llvm::MCObjectFileInfo::DwarfInfoDWOSection
protected

Definition at line 105 of file MCObjectFileInfo.h.

Referenced by getDwarfInfoDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfInfoSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfLineDWOSection
protected

Definition at line 109 of file MCObjectFileInfo.h.

Referenced by getDwarfLineDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfLineSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfLocDWOSection
protected

Definition at line 110 of file MCObjectFileInfo.h.

Referenced by getDwarfLocDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfLocSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfMacinfoSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfPubNamesSection
protected

Definition at line 92 of file MCObjectFileInfo.h.

Referenced by getDwarfPubNamesSection().

MCSection* llvm::MCObjectFileInfo::DwarfPubTypesSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfRangesSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfStrDWOSection
protected

Definition at line 108 of file MCObjectFileInfo.h.

Referenced by getDwarfStrDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfStrOffDWOSection
protected

Definition at line 111 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffDWOSection().

MCSection* llvm::MCObjectFileInfo::DwarfStrOffSection
protected

The DWARF v5 string offset and address table sections.

Definition at line 114 of file MCObjectFileInfo.h.

Referenced by getDwarfStrOffSection().

MCSection* llvm::MCObjectFileInfo::DwarfStrSection
protected
MCSection* llvm::MCObjectFileInfo::DwarfTUIndexSection
protected

Definition at line 119 of file MCObjectFileInfo.h.

Referenced by getDwarfTUIndexSection().

MCSection* llvm::MCObjectFileInfo::DwarfTypesDWOSection
protected

Definition at line 106 of file MCObjectFileInfo.h.

Referenced by getDwarfTypesDWOSection().

MCSection* llvm::MCObjectFileInfo::EHFrameSection
protected

EH frame section.

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

Definition at line 152 of file MCObjectFileInfo.h.

Referenced by getEHFrameSection(), llvm::NVPTXTargetObjectFile::Initialize(), InitMCObjectFileInfo(), llvm::NVPTXTargetObjectFile::NVPTXTargetObjectFile(), and llvm::NVPTXTargetObjectFile::~NVPTXTargetObjectFile().

MCSection* llvm::MCObjectFileInfo::EightByteConstantSection
protected
MCSection* llvm::MCObjectFileInfo::FaultMapSection
protected

FaultMap section.

Definition at line 147 of file MCObjectFileInfo.h.

Referenced by getFaultMapSection().

unsigned llvm::MCObjectFileInfo::FDECFIEncoding
protected

Definition at line 47 of file MCObjectFileInfo.h.

Referenced by getFDEEncoding(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::FourByteConstantSection
protected
MCSection* llvm::MCObjectFileInfo::LazySymbolPointerSection
protected

Definition at line 183 of file MCObjectFileInfo.h.

Referenced by getLazySymbolPointerSection().

unsigned llvm::MCObjectFileInfo::LSDAEncoding
protected

Definition at line 46 of file MCObjectFileInfo.h.

Referenced by getLSDAEncoding(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::LSDASection
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 70 of file MCObjectFileInfo.h.

Referenced by getLSDASection(), llvm::NVPTXTargetObjectFile::Initialize(), llvm::NVPTXTargetObjectFile::NVPTXTargetObjectFile(), and llvm::NVPTXTargetObjectFile::~NVPTXTargetObjectFile().

MCSection* llvm::MCObjectFileInfo::MergeableConst16Section
protected
MCSection* llvm::MCObjectFileInfo::MergeableConst32Section
protected

Definition at line 159 of file MCObjectFileInfo.h.

Referenced by getMergeableConst32Section().

MCSection* llvm::MCObjectFileInfo::MergeableConst4Section
protected
MCSection* llvm::MCObjectFileInfo::MergeableConst8Section
protected
MCSection* llvm::MCObjectFileInfo::NonLazySymbolPointerSection
protected

Definition at line 184 of file MCObjectFileInfo.h.

Referenced by getNonLazySymbolPointerSection().

bool llvm::MCObjectFileInfo::OmitDwarfIfHaveCompactUnwind
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().

MCSection* llvm::MCObjectFileInfo::PDataSection
protected

Definition at line 189 of file MCObjectFileInfo.h.

Referenced by getPDataSection().

unsigned llvm::MCObjectFileInfo::PersonalityEncoding
protected

PersonalityEncoding, LSDAEncoding, TTypeEncoding - Some encoding values for EH.

Definition at line 45 of file MCObjectFileInfo.h.

Referenced by getPersonalityEncoding(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::ReadOnlySection
protected
MCSection* llvm::MCObjectFileInfo::SixteenByteConstantSection
protected
MCSection* llvm::MCObjectFileInfo::StackMapSection
protected

StackMap section.

Definition at line 144 of file MCObjectFileInfo.h.

Referenced by getStackMapSection().

bool llvm::MCObjectFileInfo::SupportsCompactUnwindWithoutEHFrame
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().

bool llvm::MCObjectFileInfo::SupportsWeakOmittedEHFrame
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().

MCSection* llvm::MCObjectFileInfo::SXDataSection
protected

Definition at line 191 of file MCObjectFileInfo.h.

Referenced by getSXDataSection().

MCSection* llvm::MCObjectFileInfo::TextCoalSection
protected
MCSection* llvm::MCObjectFileInfo::TextSection
protected
MCSection* llvm::MCObjectFileInfo::ThreadLocalPointerSection
protected

Definition at line 185 of file MCObjectFileInfo.h.

Referenced by getThreadLocalPointerSection().

MCSection* llvm::MCObjectFileInfo::TLSBSSSection
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 141 of file MCObjectFileInfo.h.

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

MCSection* llvm::MCObjectFileInfo::TLSDataSection
protected
MCSection* llvm::MCObjectFileInfo::TLSExtraDataSection
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 133 of file MCObjectFileInfo.h.

Referenced by getTLSExtraDataSection().

const MCSection* llvm::MCObjectFileInfo::TLSThreadInitSection
protected

Section for thread local data initialization functions.

Definition at line 170 of file MCObjectFileInfo.h.

Referenced by getTLSThreadInitSection().

MCSection* llvm::MCObjectFileInfo::TLSTLVSection
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 167 of file MCObjectFileInfo.h.

Referenced by getTLSTLVSection().

unsigned llvm::MCObjectFileInfo::TTypeEncoding
protected

Definition at line 48 of file MCObjectFileInfo.h.

Referenced by getTTypeEncoding(), and InitMCObjectFileInfo().

MCSection* llvm::MCObjectFileInfo::UStringSection
protected
MCSection* llvm::MCObjectFileInfo::XDataSection
protected

Definition at line 190 of file MCObjectFileInfo.h.

Referenced by getXDataSection().


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