LLVM
8.0.1
|
#include "llvm/MC/MCObjectFileInfo.h"
Public Types | |
enum | Environment { IsMachO, IsELF, IsCOFF, IsWasm } |
Definition at line 27 of file MCObjectFileInfo.h.
Enumerator | |
---|---|
IsMachO | |
IsELF | |
IsCOFF | |
IsWasm |
Definition at line 384 of file MCObjectFileInfo.h.
|
inline |
Definition at line 239 of file MCObjectFileInfo.h.
References BSSSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), llvm::MCWinCOFFStreamer::EmitLocalCommonSymbol(), and llvm::MipsTargetELFStreamer::finish().
|
inline |
Definition at line 302 of file MCObjectFileInfo.h.
References COFFDebugSymbolsSection.
Referenced by llvm::CodeViewDebug::CodeViewDebug().
|
inline |
Definition at line 305 of file MCObjectFileInfo.h.
References COFFDebugTypesSection.
Referenced by emitNullTerminatedSymbolName().
|
inline |
Definition at line 308 of file MCObjectFileInfo.h.
References COFFGlobalTypeHashesSection.
Referenced by emitNullTerminatedSymbolName().
|
inline |
Definition at line 227 of file MCObjectFileInfo.h.
References CommDirectiveSupportsAlignment.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
|
inline |
Definition at line 233 of file MCObjectFileInfo.h.
References CompactUnwindDwarfEHFrameOnly.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and emitEncodingByte().
|
inline |
Definition at line 242 of file MCObjectFileInfo.h.
References CompactUnwindSection.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
Definition at line 349 of file MCObjectFileInfo.h.
References ConstDataCoalSection.
Definition at line 347 of file MCObjectFileInfo.h.
References ConstDataSection.
Definition at line 344 of file MCObjectFileInfo.h.
References ConstTextCoalSection.
Definition at line 341 of file MCObjectFileInfo.h.
References CStringSection.
|
inline |
Definition at line 353 of file MCObjectFileInfo.h.
References DataBSSSection.
Definition at line 348 of file MCObjectFileInfo.h.
References DataCoalSection.
Definition at line 352 of file MCObjectFileInfo.h.
References DataCommonSection.
|
inline |
Definition at line 322 of file MCObjectFileInfo.h.
References DataRelROSection.
|
inline |
Definition at line 238 of file MCObjectFileInfo.h.
References DataSection.
Referenced by llvm::AsmPrinter::doFinalization(), EmitCamlGlobal(), and llvm::MipsTargetELFStreamer::finish().
|
inline |
Definition at line 374 of file MCObjectFileInfo.h.
References DrectveSection.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::MCWinCOFFStreamer::EmitCommonSymbol(), and llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata().
|
inline |
Definition at line 288 of file MCObjectFileInfo.h.
References DwarfAbbrevDWOSection.
Referenced by emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 243 of file MCObjectFileInfo.h.
References DwarfAbbrevSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), llvm::DwarfUnit::emitCommonHeader(), EmitGenDwarfAbbrev(), llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 277 of file MCObjectFileInfo.h.
References DwarfAccelNamespaceSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 273 of file MCObjectFileInfo.h.
References DwarfAccelNamesSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 276 of file MCObjectFileInfo.h.
References DwarfAccelObjCSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 280 of file MCObjectFileInfo.h.
References DwarfAccelTypesSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 294 of file MCObjectFileInfo.h.
References DwarfAddrSection.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 264 of file MCObjectFileInfo.h.
References DwarfARangesSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfAranges(), and isDwarfSection().
|
inline |
Definition at line 298 of file MCObjectFileInfo.h.
References DwarfCUIndexSection.
Referenced by isDwarfSection().
Definition at line 259 of file MCObjectFileInfo.h.
References DwarfDebugInlineSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 270 of file MCObjectFileInfo.h.
References DwarfDebugNamesSection.
Referenced by llvm::emitDWARF5AccelTable(), and isDwarfSection().
|
inline |
Definition at line 250 of file MCObjectFileInfo.h.
References DwarfFrameSection.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and isDwarfSection().
|
inline |
Definition at line 253 of file MCObjectFileInfo.h.
References DwarfGnuPubNamesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 256 of file MCObjectFileInfo.h.
References DwarfGnuPubTypesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 283 of file MCObjectFileInfo.h.
References DwarfInfoDWOSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 244 of file MCObjectFileInfo.h.
References DwarfInfoSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), emitDebugRangesImpl(), EmitGenDwarfInfo(), and isDwarfSection().
|
inline |
Definition at line 245 of file MCObjectFileInfo.h.
|
inline |
Definition at line 290 of file MCObjectFileInfo.h.
References DwarfLineDWOSection.
Referenced by emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 248 of file MCObjectFileInfo.h.
References DwarfLineSection.
Referenced by llvm::MCDwarfLineTable::Emit(), EmitDwarfLineTable(), llvm::DwarfCompileUnit::initStmtList(), and isDwarfSection().
|
inline |
Definition at line 249 of file MCObjectFileInfo.h.
References DwarfLineStrSection.
Referenced by llvm::MCDwarfLineStr::emitSection(), isDwarfSection(), and llvm::MCDwarfLineStr::MCDwarfLineStr().
|
inline |
Definition at line 291 of file MCObjectFileInfo.h.
References DwarfLocDWOSection.
Referenced by emitLoclistsTableHeader(), and isDwarfSection().
|
inline |
Definition at line 267 of file MCObjectFileInfo.h.
References DwarfLoclistsSection.
Referenced by emitLoclistsTableHeader().
|
inline |
Definition at line 263 of file MCObjectFileInfo.h.
References DwarfLocSection.
Referenced by emitLoclistsTableHeader(), and isDwarfSection().
|
inline |
Definition at line 268 of file MCObjectFileInfo.h.
References DwarfMacinfoSection.
Referenced by llvm::DwarfDebug::beginModule(), emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 251 of file MCObjectFileInfo.h.
References DwarfPubNamesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 252 of file MCObjectFileInfo.h.
References DwarfPubTypesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 265 of file MCObjectFileInfo.h.
References DwarfRangesSection.
Referenced by llvm::DwarfCompileUnit::addScopeRangeList(), llvm::DwarfDebug::beginModule(), llvm::MCGenDwarfInfo::Emit(), emitDebugRangesImpl(), EmitGenDwarfRanges(), and isDwarfSection().
|
inline |
Definition at line 295 of file MCObjectFileInfo.h.
References DwarfRnglistsDWOSection.
Referenced by emitDebugRangesImpl().
|
inline |
Definition at line 266 of file MCObjectFileInfo.h.
References DwarfRnglistsSection.
Referenced by llvm::DwarfCompileUnit::addScopeRangeList(), and emitDebugRangesImpl().
|
inline |
Definition at line 289 of file MCObjectFileInfo.h.
References DwarfStrDWOSection.
Referenced by emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 292 of file MCObjectFileInfo.h.
References DwarfStrOffDWOSection.
Referenced by emitDebugRangesImpl(), and isDwarfSection().
|
inline |
Definition at line 293 of file MCObjectFileInfo.h.
References DwarfStrOffSection.
Referenced by llvm::DwarfUnit::addStringOffsetsStart(), computeIndexValue(), llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 262 of file MCObjectFileInfo.h.
References DwarfStrSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 300 of file MCObjectFileInfo.h.
References DwarfSwiftASTSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 299 of file MCObjectFileInfo.h.
References DwarfTUIndexSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 287 of file MCObjectFileInfo.h.
References DwarfTypesDWOSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 284 of file MCObjectFileInfo.h.
|
inline |
Definition at line 380 of file MCObjectFileInfo.h.
References EHFrameSection.
Definition at line 357 of file MCObjectFileInfo.h.
References EightByteConstantSection.
|
inline |
Definition at line 317 of file MCObjectFileInfo.h.
References FaultMapSection, and getStackSizesSection().
Referenced by llvm::FaultMaps::serializeToFaultMapSection().
|
inline |
Definition at line 231 of file MCObjectFileInfo.h.
References FDECFIEncoding.
Referenced by emitEncodingByte(), and getCIEVersion().
Definition at line 354 of file MCObjectFileInfo.h.
References FourByteConstantSection.
|
inline |
Definition at line 378 of file MCObjectFileInfo.h.
References GFIDsSection.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 363 of file MCObjectFileInfo.h.
References LazySymbolPointerSection.
|
inline |
Definition at line 241 of file MCObjectFileInfo.h.
References LSDASection.
Referenced by llvm::EHStreamer::emitExceptionTable().
Definition at line 329 of file MCObjectFileInfo.h.
References MergeableConst16Section.
Definition at line 332 of file MCObjectFileInfo.h.
References MergeableConst32Section.
Definition at line 323 of file MCObjectFileInfo.h.
References MergeableConst4Section.
Definition at line 326 of file MCObjectFileInfo.h.
References MergeableConst8Section.
|
inline |
Definition at line 366 of file MCObjectFileInfo.h.
References NonLazySymbolPointerSection.
Referenced by llvm::ARMAsmPrinter::EmitEndOfAsmFile().
|
inline |
Definition at line 385 of file MCObjectFileInfo.h.
Referenced by llvm::MCContext::getOrCreateLSDASymbol().
|
inline |
Definition at line 223 of file MCObjectFileInfo.h.
References OmitDwarfIfHaveCompactUnwind.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 375 of file MCObjectFileInfo.h.
References PDataSection.
|
inline |
Definition at line 240 of file MCObjectFileInfo.h.
References ReadOnlySection.
|
inline |
Definition at line 409 of file MCObjectFileInfo.h.
Referenced by llvm::createMachOStreamer().
Definition at line 360 of file MCObjectFileInfo.h.
References SixteenByteConstantSection.
|
inline |
Definition at line 316 of file MCObjectFileInfo.h.
References StackMapSection.
Referenced by llvm::StackMaps::serializeToStackMapSection().
Definition at line 829 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), IsELF, llvm::codeview::Link, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHT_PROGBITS, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size(), StackSizesSection, and StackSizesUniquing.
Referenced by llvm::AsmPrinter::emitStackSizeSection(), and getFaultMapSection().
|
inline |
Definition at line 220 of file MCObjectFileInfo.h.
References SupportsCompactUnwindWithoutEHFrame.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 217 of file MCObjectFileInfo.h.
References SupportsWeakOmittedEHFrame.
|
inline |
Definition at line 377 of file MCObjectFileInfo.h.
References SXDataSection.
Referenced by llvm::MCWinCOFFStreamer::EmitCOFFSafeSEH().
Definition at line 403 of file MCObjectFileInfo.h.
Referenced by llvm::NVPTXTargetStreamer::changeSection(), llvm::MCTargetStreamer::changeSection(), llvm::createMachOStreamer(), llvm::MCWinCOFFStreamer::EmitCommonSymbol(), llvm::TargetLoweringObjectFileCOFF::emitLinkerFlagsForGlobal(), llvm::TargetLoweringObjectFileCOFF::emitLinkerFlagsForUsed(), llvm::TargetLoweringObjectFileCOFF::getStaticCtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticDtorSection(), and llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal().
|
inline |
Definition at line 343 of file MCObjectFileInfo.h.
References TextCoalSection.
|
inline |
Definition at line 237 of file MCObjectFileInfo.h.
References TextSection.
Referenced by EmitCamlGlobal(), llvm::MipsAsmPrinter::EmitEndOfAsmFile(), llvm::MipsTargetELFStreamer::finish(), getWinCFISection(), and llvm::MCELFStreamer::InitSections().
|
inline |
Definition at line 369 of file MCObjectFileInfo.h.
References ThreadLocalPointerSection.
Referenced by llvm::ARMAsmPrinter::EmitEndOfAsmFile().
|
inline |
Definition at line 314 of file MCObjectFileInfo.h.
References TLSBSSSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
Definition at line 313 of file MCObjectFileInfo.h.
References TLSDataSection.
|
inline |
Definition at line 312 of file MCObjectFileInfo.h.
References TLSExtraDataSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
Definition at line 338 of file MCObjectFileInfo.h.
References TLSThreadInitSection.
Definition at line 337 of file MCObjectFileInfo.h.
References TLSTLVSection.
Definition at line 342 of file MCObjectFileInfo.h.
References UStringSection.
|
inline |
Definition at line 376 of file MCObjectFileInfo.h.
References XDataSection.
void MCObjectFileInfo::InitMCObjectFileInfo | ( | const Triple & | TT, |
bool | PIC, | ||
MCContext & | ctx, | ||
bool | LargeCodeModel = false |
||
) |
Definition at line 759 of file MCObjectFileInfo.cpp.
References llvm::Triple::COFF, CommDirectiveSupportsAlignment, CompactUnwindDwarfEHFrameOnly, CompactUnwindSection, llvm::dwarf::DW_EH_PE_absptr, DwarfAccelNamespaceSection, DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelTypesSection, EHFrameSection, llvm::Triple::ELF, FDECFIEncoding, llvm::MCContext::getELFSection(), llvm::Triple::getObjectFormat(), IsCOFF, IsELF, IsMachO, llvm::Triple::isOSWindows(), IsWasm, llvm_unreachable, llvm::Triple::MachO, Name, OmitDwarfIfHaveCompactUnwind, llvm::report_fatal_error(), llvm::ELF::SHF_GROUP, llvm::ELF::SHT_PROGBITS, SupportsCompactUnwindWithoutEHFrame, SupportsWeakOmittedEHFrame, llvm::Triple::UnknownObjectFormat, llvm::utostr(), and llvm::Triple::Wasm.
Referenced by llvm::TargetLoweringObjectFile::Initialize().
|
inline |
Definition at line 387 of file MCObjectFileInfo.h.
References llvm::CodeModel::Large, and Name.
Referenced by llvm::MipsAsmPrinter::EmitStartOfAsmFile(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
|
inline |
Definition at line 405 of file MCObjectFileInfo.h.
|
protected |
Section that is default initialized to zero.
Definition at line 62 of file MCObjectFileInfo.h.
Referenced by getBSSSection(), llvm::XCoreTargetObjectFile::Initialize(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::HexagonTargetObjectFile::shouldPutJumpTableInFunctionSection(), and useCompactUnwind().
|
protected |
Definition at line 139 of file MCObjectFileInfo.h.
Referenced by getCOFFDebugSymbolsSection(), and useCompactUnwind().
|
protected |
Definition at line 140 of file MCObjectFileInfo.h.
Referenced by getCOFFDebugTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 141 of file MCObjectFileInfo.h.
Referenced by getCOFFGlobalTypeHashesSection(), and useCompactUnwind().
|
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 31 of file MCObjectFileInfo.h.
Referenced by getCommDirectiveSupportsAlignment(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Compact unwind encoding indicating that we should emit only an EH frame.
Definition at line 53 of file MCObjectFileInfo.h.
Referenced by getCompactUnwindDwarfEHFrameOnly(), InitMCObjectFileInfo(), and useCompactUnwind().
|
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 77 of file MCObjectFileInfo.h.
Referenced by getCompactUnwindSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 196 of file MCObjectFileInfo.h.
Referenced by getConstDataCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 194 of file MCObjectFileInfo.h.
Referenced by getConstDataSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 193 of file MCObjectFileInfo.h.
Referenced by getConstTextCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 190 of file MCObjectFileInfo.h.
Referenced by getCStringSection(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 198 of file MCObjectFileInfo.h.
Referenced by getDataBSSSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 195 of file MCObjectFileInfo.h.
Referenced by getDataCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 197 of file MCObjectFileInfo.h.
Referenced by getDataCommonSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 173 of file MCObjectFileInfo.h.
Referenced by getDataRelROSection(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Section directive for standard data.
Definition at line 59 of file MCObjectFileInfo.h.
Referenced by getDataSection(), llvm::NVPTXTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
COFF specific sections.
Definition at line 207 of file MCObjectFileInfo.h.
Referenced by getDrectveSection(), and useCompactUnwind().
|
protected |
Definition at line 110 of file MCObjectFileInfo.h.
Referenced by getDwarfAbbrevDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 81 of file MCObjectFileInfo.h.
Referenced by getDwarfAbbrevSection(), and useCompactUnwind().
|
protected |
Definition at line 104 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelNamespaceSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 102 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelNamesSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 103 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelObjCSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 105 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelTypesSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 118 of file MCObjectFileInfo.h.
Referenced by getDwarfAddrSection(), and useCompactUnwind().
|
protected |
Definition at line 90 of file MCObjectFileInfo.h.
Referenced by getDwarfARangesSection(), and useCompactUnwind().
|
protected |
Definition at line 128 of file MCObjectFileInfo.h.
Referenced by getDwarfCUIndexSection(), and useCompactUnwind().
Definition at line 87 of file MCObjectFileInfo.h.
Referenced by getDwarfDebugInlineSection(), and useCompactUnwind().
|
protected |
Accelerator table sections.
DwarfDebugNamesSection is the DWARF v5 accelerator table, while DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelNamespaceSection, DwarfAccelTypesSection are pre-DWARF v5 extensions.
Definition at line 101 of file MCObjectFileInfo.h.
Referenced by getDwarfDebugNamesSection(), and useCompactUnwind().
|
protected |
Definition at line 85 of file MCObjectFileInfo.h.
Referenced by getDwarfFrameSection(), and useCompactUnwind().
|
protected |
Section for newer gnu pubnames.
Definition at line 132 of file MCObjectFileInfo.h.
Referenced by getDwarfGnuPubNamesSection(), and useCompactUnwind().
|
protected |
Section for newer gnu pubtypes.
Definition at line 134 of file MCObjectFileInfo.h.
Referenced by getDwarfGnuPubTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 108 of file MCObjectFileInfo.h.
Referenced by getDwarfInfoDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 82 of file MCObjectFileInfo.h.
Referenced by getDwarfInfoSection(), and useCompactUnwind().
|
protected |
Definition at line 112 of file MCObjectFileInfo.h.
Referenced by getDwarfLineDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 83 of file MCObjectFileInfo.h.
Referenced by getDwarfLineSection(), and useCompactUnwind().
|
protected |
Definition at line 84 of file MCObjectFileInfo.h.
Referenced by getDwarfLineStrSection(), and useCompactUnwind().
|
protected |
Definition at line 113 of file MCObjectFileInfo.h.
Referenced by getDwarfLocDWOSection(), and useCompactUnwind().
|
protected |
The DWARF v5 locations list section.
Definition at line 122 of file MCObjectFileInfo.h.
Referenced by getDwarfLoclistsSection(), and useCompactUnwind().
|
protected |
Definition at line 89 of file MCObjectFileInfo.h.
Referenced by getDwarfLocSection(), and useCompactUnwind().
|
protected |
Definition at line 92 of file MCObjectFileInfo.h.
Referenced by getDwarfMacinfoSection(), and useCompactUnwind().
|
protected |
Definition at line 95 of file MCObjectFileInfo.h.
Referenced by getDwarfPubNamesSection(), and useCompactUnwind().
|
protected |
Definition at line 86 of file MCObjectFileInfo.h.
Referenced by getDwarfPubTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 91 of file MCObjectFileInfo.h.
Referenced by getDwarfRangesSection(), and useCompactUnwind().
|
protected |
The DWARF v5 range list section for fission.
Definition at line 125 of file MCObjectFileInfo.h.
Referenced by getDwarfRnglistsDWOSection(), and useCompactUnwind().
|
protected |
The DWARF v5 range list section.
Definition at line 120 of file MCObjectFileInfo.h.
Referenced by getDwarfRnglistsSection(), and useCompactUnwind().
|
protected |
Definition at line 111 of file MCObjectFileInfo.h.
Referenced by getDwarfStrDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 114 of file MCObjectFileInfo.h.
Referenced by getDwarfStrOffDWOSection(), and useCompactUnwind().
|
protected |
The DWARF v5 string offset and address table sections.
Definition at line 117 of file MCObjectFileInfo.h.
Referenced by getDwarfStrOffSection(), and useCompactUnwind().
|
protected |
Definition at line 88 of file MCObjectFileInfo.h.
Referenced by getDwarfStrSection(), and useCompactUnwind().
|
protected |
Definition at line 137 of file MCObjectFileInfo.h.
Referenced by getDwarfSwiftASTSection(), and useCompactUnwind().
|
protected |
Definition at line 129 of file MCObjectFileInfo.h.
Referenced by getDwarfTUIndexSection(), and useCompactUnwind().
|
protected |
Definition at line 109 of file MCObjectFileInfo.h.
Referenced by getDwarfTypesDWOSection(), and useCompactUnwind().
|
protected |
EH frame section.
It is initialized on demand so it can be overwritten (with uniquing).
Definition at line 166 of file MCObjectFileInfo.h.
Referenced by getEHFrameSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 200 of file MCObjectFileInfo.h.
Referenced by getEightByteConstantSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
FaultMap section.
Definition at line 161 of file MCObjectFileInfo.h.
Referenced by getFaultMapSection(), and useCompactUnwind().
|
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 50 of file MCObjectFileInfo.h.
Referenced by getFDEEncoding(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 199 of file MCObjectFileInfo.h.
Referenced by getFourByteConstantSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 211 of file MCObjectFileInfo.h.
Referenced by getGFIDsSection(), and useCompactUnwind().
|
protected |
Definition at line 202 of file MCObjectFileInfo.h.
Referenced by getLazySymbolPointerSection(), and useCompactUnwind().
|
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 72 of file MCObjectFileInfo.h.
Referenced by getLSDASection(), and useCompactUnwind().
|
protected |
Definition at line 176 of file MCObjectFileInfo.h.
Referenced by getMergeableConst16Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 177 of file MCObjectFileInfo.h.
Referenced by getMergeableConst32Section(), and useCompactUnwind().
|
protected |
Definition at line 174 of file MCObjectFileInfo.h.
Referenced by getMergeableConst4Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 175 of file MCObjectFileInfo.h.
Referenced by getMergeableConst8Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 203 of file MCObjectFileInfo.h.
Referenced by getNonLazySymbolPointerSection(), and useCompactUnwind().
|
protected |
OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind.
Definition at line 44 of file MCObjectFileInfo.h.
Referenced by getOmitDwarfIfHaveCompactUnwind(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 208 of file MCObjectFileInfo.h.
Referenced by getPDataSection(), and useCompactUnwind().
|
protected |
Section that is readonly and can contain arbitrary initialized data.
Targets are not required to have a readonly section. If they don't, various bits of code will fall back to using the data section for constants.
Definition at line 68 of file MCObjectFileInfo.h.
Referenced by getReadOnlySection(), llvm::NVPTXTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 201 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSixteenByteConstantSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
StackMap section.
Definition at line 158 of file MCObjectFileInfo.h.
Referenced by getStackMapSection(), and useCompactUnwind().
|
protected |
Section containing metadata on function stack sizes.
Definition at line 169 of file MCObjectFileInfo.h.
Referenced by getStackSizesSection(), and useCompactUnwind().
Definition at line 170 of file MCObjectFileInfo.h.
Referenced by getStackSizesSection().
|
protected |
True if the target object file supports emitting a compact unwind section without an associated EH frame section.
Definition at line 39 of file MCObjectFileInfo.h.
Referenced by getSupportsCompactUnwindWithoutEHFrame(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
True if target object file supports a weak_definition of constant 0 for an omitted EH frame.
Definition at line 35 of file MCObjectFileInfo.h.
Referenced by getSupportsWeakOmittedEHFrame(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 210 of file MCObjectFileInfo.h.
Referenced by getSXDataSection(), and useCompactUnwind().
|
protected |
Definition at line 192 of file MCObjectFileInfo.h.
Referenced by getTextCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Section directive for standard text.
Definition at line 56 of file MCObjectFileInfo.h.
Referenced by getTextSection(), llvm::AMDGPUTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 204 of file MCObjectFileInfo.h.
Referenced by getThreadLocalPointerSection(), and useCompactUnwind().
|
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 155 of file MCObjectFileInfo.h.
Referenced by getTLSBSSSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Section directive for Thread Local data. ELF, MachO, COFF, and Wasm.
Definition at line 150 of file MCObjectFileInfo.h.
Referenced by getTLSDataSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
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 147 of file MCObjectFileInfo.h.
Referenced by getTLSExtraDataSection(), and useCompactUnwind().
Section for thread local data initialization functions.
Definition at line 188 of file MCObjectFileInfo.h.
Referenced by getTLSThreadInitSection(), and useCompactUnwind().
|
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 185 of file MCObjectFileInfo.h.
Referenced by getTLSTLVSection(), and useCompactUnwind().
|
protected |
Definition at line 191 of file MCObjectFileInfo.h.
Referenced by getUStringSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 209 of file MCObjectFileInfo.h.
Referenced by getXDataSection(), and useCompactUnwind().