|
LLVM
10.0.0
|
#include "llvm/MC/MCObjectFileInfo.h"
Public Types | |
| enum | Environment { IsMachO, IsELF, IsCOFF, IsWasm, IsXCOFF } |
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 |
Definition at line 26 of file MCObjectFileInfo.h.
| Enumerator | |
|---|---|
| IsMachO | |
| IsELF | |
| IsCOFF | |
| IsWasm | |
| IsXCOFF | |
Definition at line 398 of file MCObjectFileInfo.h.
|
inline |
Definition at line 245 of file MCObjectFileInfo.h.
References BSSSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable(), llvm::MCWinCOFFStreamer::EmitLocalCommonSymbol(), and llvm::MipsTargetELFStreamer::finish().
|
inline |
Definition at line 314 of file MCObjectFileInfo.h.
References COFFDebugSymbolsSection.
Referenced by llvm::CodeViewDebug::CodeViewDebug().
|
inline |
Definition at line 317 of file MCObjectFileInfo.h.
References COFFDebugTypesSection.
Referenced by emitNullTerminatedSymbolName().
|
inline |
Definition at line 320 of file MCObjectFileInfo.h.
References COFFGlobalTypeHashesSection.
Referenced by emitNullTerminatedSymbolName().
|
inline |
Definition at line 233 of file MCObjectFileInfo.h.
References CommDirectiveSupportsAlignment.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
|
inline |
Definition at line 239 of file MCObjectFileInfo.h.
References CompactUnwindDwarfEHFrameOnly.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and emitEncodingByte().
|
inline |
Definition at line 248 of file MCObjectFileInfo.h.
References CompactUnwindSection.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
Definition at line 362 of file MCObjectFileInfo.h.
References ConstDataCoalSection.
Definition at line 360 of file MCObjectFileInfo.h.
References ConstDataSection.
Definition at line 357 of file MCObjectFileInfo.h.
References ConstTextCoalSection.
Definition at line 354 of file MCObjectFileInfo.h.
References CStringSection.
|
inline |
Definition at line 366 of file MCObjectFileInfo.h.
References DataBSSSection.
Definition at line 361 of file MCObjectFileInfo.h.
References DataCoalSection.
Definition at line 365 of file MCObjectFileInfo.h.
References DataCommonSection.
|
inline |
Definition at line 335 of file MCObjectFileInfo.h.
References DataRelROSection.
|
inline |
Definition at line 244 of file MCObjectFileInfo.h.
References DataSection.
Referenced by llvm::AsmPrinter::doFinalization(), EmitCamlGlobal(), and llvm::MipsTargetELFStreamer::finish().
|
inline |
Definition at line 387 of file MCObjectFileInfo.h.
References DrectveSection.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::MCWinCOFFStreamer::EmitCommonSymbol(), and llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata().
|
inline |
Definition at line 294 of file MCObjectFileInfo.h.
References DwarfAbbrevDWOSection.
Referenced by emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 249 of file MCObjectFileInfo.h.
References DwarfAbbrevSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), llvm::DwarfUnit::emitCommonHeader(), EmitGenDwarfAbbrev(), llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 283 of file MCObjectFileInfo.h.
References DwarfAccelNamespaceSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 279 of file MCObjectFileInfo.h.
References DwarfAccelNamesSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 282 of file MCObjectFileInfo.h.
References DwarfAccelObjCSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 286 of file MCObjectFileInfo.h.
References DwarfAccelTypesSection.
Referenced by llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 300 of file MCObjectFileInfo.h.
References DwarfAddrSection.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 270 of file MCObjectFileInfo.h.
References DwarfARangesSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfAranges(), and isDwarfSection().
|
inline |
Definition at line 310 of file MCObjectFileInfo.h.
References DwarfCUIndexSection.
Referenced by isDwarfSection().
Definition at line 265 of file MCObjectFileInfo.h.
References DwarfDebugInlineSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 276 of file MCObjectFileInfo.h.
References DwarfDebugNamesSection.
Referenced by llvm::emitDWARF5AccelTable(), and isDwarfSection().
|
inline |
Definition at line 256 of file MCObjectFileInfo.h.
References DwarfFrameSection.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and isDwarfSection().
|
inline |
Definition at line 259 of file MCObjectFileInfo.h.
References DwarfGnuPubNamesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 262 of file MCObjectFileInfo.h.
References DwarfGnuPubTypesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 289 of file MCObjectFileInfo.h.
References DwarfInfoDWOSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 250 of file MCObjectFileInfo.h.
References DwarfInfoSection.
Referenced by llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfInfo(), emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 251 of file MCObjectFileInfo.h.
|
inline |
Definition at line 296 of file MCObjectFileInfo.h.
References DwarfLineDWOSection.
Referenced by emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 254 of file MCObjectFileInfo.h.
References DwarfLineSection.
Referenced by llvm::MCDwarfLineTable::Emit(), EmitDwarfLineTable(), llvm::DwarfCompileUnit::initStmtList(), and isDwarfSection().
|
inline |
Definition at line 255 of file MCObjectFileInfo.h.
References DwarfLineStrSection.
Referenced by llvm::MCDwarfLineStr::emitSection(), isDwarfSection(), and llvm::MCDwarfLineStr::MCDwarfLineStr().
|
inline |
Definition at line 297 of file MCObjectFileInfo.h.
References DwarfLocDWOSection.
Referenced by emitLocList(), and isDwarfSection().
|
inline |
Definition at line 304 of file MCObjectFileInfo.h.
References DwarfLoclistsDWOSection.
Referenced by emitLocList().
|
inline |
Definition at line 273 of file MCObjectFileInfo.h.
References DwarfLoclistsSection.
Referenced by llvm::DwarfDebug::beginModule(), and emitLocList().
|
inline |
Definition at line 269 of file MCObjectFileInfo.h.
References DwarfLocSection.
Referenced by emitLocList(), and isDwarfSection().
|
inline |
Definition at line 307 of file MCObjectFileInfo.h.
References DwarfMacinfoDWOSection.
Referenced by llvm::DwarfDebug::beginModule(), and emitRangeList().
|
inline |
Definition at line 274 of file MCObjectFileInfo.h.
References DwarfMacinfoSection.
Referenced by llvm::DwarfDebug::beginModule(), emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 257 of file MCObjectFileInfo.h.
References DwarfPubNamesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 258 of file MCObjectFileInfo.h.
References DwarfPubTypesSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 271 of file MCObjectFileInfo.h.
References DwarfRangesSection.
Referenced by llvm::DwarfCompileUnit::addScopeRangeList(), llvm::DwarfDebug::beginModule(), llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfRanges(), emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 301 of file MCObjectFileInfo.h.
References DwarfRnglistsDWOSection.
Referenced by emitRangeList().
|
inline |
Definition at line 272 of file MCObjectFileInfo.h.
References DwarfRnglistsSection.
Referenced by emitRangeList().
|
inline |
Definition at line 295 of file MCObjectFileInfo.h.
References DwarfStrDWOSection.
Referenced by emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 298 of file MCObjectFileInfo.h.
References DwarfStrOffDWOSection.
Referenced by emitRangeList(), and isDwarfSection().
|
inline |
Definition at line 299 of file MCObjectFileInfo.h.
References DwarfStrOffSection.
Referenced by llvm::DwarfUnit::addStringOffsetsStart(), computeIndexValue(), llvm::DwarfDebug::endFunctionImpl(), and isDwarfSection().
|
inline |
Definition at line 268 of file MCObjectFileInfo.h.
References DwarfStrSection.
Referenced by computeIndexValue(), and isDwarfSection().
|
inline |
Definition at line 312 of file MCObjectFileInfo.h.
References DwarfSwiftASTSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 311 of file MCObjectFileInfo.h.
References DwarfTUIndexSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 293 of file MCObjectFileInfo.h.
References DwarfTypesDWOSection.
Referenced by isDwarfSection().
|
inline |
Definition at line 290 of file MCObjectFileInfo.h.
|
inline |
Definition at line 394 of file MCObjectFileInfo.h.
References EHFrameSection.
Definition at line 370 of file MCObjectFileInfo.h.
References EightByteConstantSection.
|
inline |
Definition at line 329 of file MCObjectFileInfo.h.
References FaultMapSection.
Referenced by llvm::FaultMaps::serializeToFaultMapSection().
|
inline |
Definition at line 237 of file MCObjectFileInfo.h.
References FDECFIEncoding.
Referenced by emitEncodingByte(), and getCIEVersion().
Definition at line 367 of file MCObjectFileInfo.h.
References FourByteConstantSection.
|
inline |
Definition at line 391 of file MCObjectFileInfo.h.
References GFIDsSection.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 392 of file MCObjectFileInfo.h.
References GLJMPSection.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 376 of file MCObjectFileInfo.h.
References LazySymbolPointerSection.
|
inline |
Definition at line 247 of file MCObjectFileInfo.h.
References LSDASection.
Referenced by llvm::EHStreamer::emitExceptionTable().
Definition at line 342 of file MCObjectFileInfo.h.
References MergeableConst16Section.
Definition at line 345 of file MCObjectFileInfo.h.
References MergeableConst32Section.
Definition at line 336 of file MCObjectFileInfo.h.
References MergeableConst4Section.
Definition at line 339 of file MCObjectFileInfo.h.
References MergeableConst8Section.
|
inline |
Definition at line 379 of file MCObjectFileInfo.h.
References NonLazySymbolPointerSection.
Referenced by llvm::ARMAsmPrinter::EmitEndOfAsmFile().
|
inline |
Definition at line 399 of file MCObjectFileInfo.h.
Referenced by llvm::MCContext::getOrCreateLSDASymbol().
|
inline |
Definition at line 229 of file MCObjectFileInfo.h.
References OmitDwarfIfHaveCompactUnwind.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 388 of file MCObjectFileInfo.h.
References PDataSection.
|
inline |
Definition at line 246 of file MCObjectFileInfo.h.
References ReadOnlySection.
|
inline |
Definition at line 330 of file MCObjectFileInfo.h.
References getStackSizesSection(), and RemarksSection.
Referenced by llvm::AsmPrinter::emitRemarksSection().
|
inline |
Definition at line 424 of file MCObjectFileInfo.h.
Referenced by llvm::createMachOStreamer().
Definition at line 373 of file MCObjectFileInfo.h.
References SixteenByteConstantSection.
|
inline |
Definition at line 328 of file MCObjectFileInfo.h.
References StackMapSection.
Referenced by llvm::StackMaps::serializeToStackMapSection().
Definition at line 875 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 getRemarksSection().
|
inline |
Definition at line 226 of file MCObjectFileInfo.h.
References SupportsCompactUnwindWithoutEHFrame.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 223 of file MCObjectFileInfo.h.
References SupportsWeakOmittedEHFrame.
|
inline |
Definition at line 390 of file MCObjectFileInfo.h.
References SXDataSection.
Referenced by llvm::MCWinCOFFStreamer::EmitCOFFSafeSEH().
Definition at line 418 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 356 of file MCObjectFileInfo.h.
References TextCoalSection.
|
inline |
Definition at line 243 of file MCObjectFileInfo.h.
References TextSection.
Referenced by EmitCamlGlobal(), llvm::MipsAsmPrinter::EmitEndOfAsmFile(), llvm::MipsTargetELFStreamer::finish(), getWinCFISection(), and llvm::MCELFStreamer::InitSections().
|
inline |
Definition at line 382 of file MCObjectFileInfo.h.
References ThreadLocalPointerSection.
Referenced by llvm::ARMAsmPrinter::EmitEndOfAsmFile().
|
inline |
Definition at line 326 of file MCObjectFileInfo.h.
References TLSBSSSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
Definition at line 325 of file MCObjectFileInfo.h.
References TLSDataSection.
|
inline |
Definition at line 324 of file MCObjectFileInfo.h.
References TLSExtraDataSection.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
Definition at line 351 of file MCObjectFileInfo.h.
References TLSThreadInitSection.
Definition at line 350 of file MCObjectFileInfo.h.
References TLSTLVSection.
Definition at line 355 of file MCObjectFileInfo.h.
References UStringSection.
|
inline |
Definition at line 389 of file MCObjectFileInfo.h.
References XDataSection.
| void MCObjectFileInfo::InitMCObjectFileInfo | ( | const Triple & | TT, |
| bool | PIC, | ||
| MCContext & | ctx, | ||
| bool | LargeCodeModel = false |
||
| ) |
Definition at line 800 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, IsXCOFF, 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(), llvm::Triple::Wasm, and llvm::Triple::XCOFF.
Referenced by llvm::TargetLoweringObjectFile::Initialize().
|
inline |
Definition at line 401 of file MCObjectFileInfo.h.
References llvm::CodeModel::Large, and Name.
Referenced by llvm::MipsAsmPrinter::EmitStartOfAsmFile(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
|
inline |
Definition at line 420 of file MCObjectFileInfo.h.
|
protected |
Section that is default initialized to zero.
Definition at line 61 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 140 of file MCObjectFileInfo.h.
Referenced by getCOFFDebugSymbolsSection(), and useCompactUnwind().
|
protected |
Definition at line 141 of file MCObjectFileInfo.h.
Referenced by getCOFFDebugTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 142 of file MCObjectFileInfo.h.
Referenced by getCOFFGlobalTypeHashesSection(), and useCompactUnwind().
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().
|
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().
|
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().
|
protected |
Definition at line 201 of file MCObjectFileInfo.h.
Referenced by getConstDataCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 199 of file MCObjectFileInfo.h.
Referenced by getConstDataSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 198 of file MCObjectFileInfo.h.
Referenced by getConstTextCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 195 of file MCObjectFileInfo.h.
Referenced by getCStringSection(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 203 of file MCObjectFileInfo.h.
Referenced by getDataBSSSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 200 of file MCObjectFileInfo.h.
Referenced by getDataCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 202 of file MCObjectFileInfo.h.
Referenced by getDataCommonSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 177 of file MCObjectFileInfo.h.
Referenced by getDataRelROSection(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Section directive for standard data.
Definition at line 58 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(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
COFF specific sections.
Definition at line 212 of file MCObjectFileInfo.h.
Referenced by getDrectveSection(), and useCompactUnwind().
|
protected |
Definition at line 109 of file MCObjectFileInfo.h.
Referenced by getDwarfAbbrevDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 80 of file MCObjectFileInfo.h.
Referenced by getDwarfAbbrevSection(), and useCompactUnwind().
|
protected |
Definition at line 103 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelNamespaceSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 101 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelNamesSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 102 of file MCObjectFileInfo.h.
Referenced by getDwarfAccelObjCSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 104 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 89 of file MCObjectFileInfo.h.
Referenced by getDwarfARangesSection(), and useCompactUnwind().
|
protected |
Definition at line 129 of file MCObjectFileInfo.h.
Referenced by getDwarfCUIndexSection(), and useCompactUnwind().
Definition at line 86 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 100 of file MCObjectFileInfo.h.
Referenced by getDwarfDebugNamesSection(), and useCompactUnwind().
|
protected |
Definition at line 84 of file MCObjectFileInfo.h.
Referenced by getDwarfFrameSection(), and useCompactUnwind().
|
protected |
Section for newer gnu pubnames.
Definition at line 133 of file MCObjectFileInfo.h.
Referenced by getDwarfGnuPubNamesSection(), and useCompactUnwind().
|
protected |
Section for newer gnu pubtypes.
Definition at line 135 of file MCObjectFileInfo.h.
Referenced by getDwarfGnuPubTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 107 of file MCObjectFileInfo.h.
Referenced by getDwarfInfoDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 81 of file MCObjectFileInfo.h.
Referenced by getDwarfInfoSection(), and useCompactUnwind().
|
protected |
Definition at line 111 of file MCObjectFileInfo.h.
Referenced by getDwarfLineDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 82 of file MCObjectFileInfo.h.
Referenced by getDwarfLineSection(), and useCompactUnwind().
|
protected |
Definition at line 83 of file MCObjectFileInfo.h.
Referenced by getDwarfLineStrSection(), and useCompactUnwind().
|
protected |
Definition at line 112 of file MCObjectFileInfo.h.
Referenced by getDwarfLocDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 126 of file MCObjectFileInfo.h.
Referenced by getDwarfLoclistsDWOSection(), 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 88 of file MCObjectFileInfo.h.
Referenced by getDwarfLocSection(), and useCompactUnwind().
|
protected |
Definition at line 114 of file MCObjectFileInfo.h.
Referenced by getDwarfMacinfoDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 91 of file MCObjectFileInfo.h.
Referenced by getDwarfMacinfoSection(), and useCompactUnwind().
|
protected |
Definition at line 94 of file MCObjectFileInfo.h.
Referenced by getDwarfPubNamesSection(), and useCompactUnwind().
|
protected |
Definition at line 85 of file MCObjectFileInfo.h.
Referenced by getDwarfPubTypesSection(), and useCompactUnwind().
|
protected |
Definition at line 90 of file MCObjectFileInfo.h.
Referenced by getDwarfRangesSection(), and useCompactUnwind().
|
protected |
The DWARF v5 range and location list sections 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 110 of file MCObjectFileInfo.h.
Referenced by getDwarfStrDWOSection(), and useCompactUnwind().
|
protected |
Definition at line 113 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 87 of file MCObjectFileInfo.h.
Referenced by getDwarfStrSection(), and useCompactUnwind().
|
protected |
Definition at line 138 of file MCObjectFileInfo.h.
Referenced by getDwarfSwiftASTSection(), and useCompactUnwind().
|
protected |
Definition at line 130 of file MCObjectFileInfo.h.
Referenced by getDwarfTUIndexSection(), and useCompactUnwind().
|
protected |
Definition at line 108 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 170 of file MCObjectFileInfo.h.
Referenced by getEHFrameSection(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 205 of file MCObjectFileInfo.h.
Referenced by getEightByteConstantSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
FaultMap section.
Definition at line 162 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 49 of file MCObjectFileInfo.h.
Referenced by getFDEEncoding(), InitMCObjectFileInfo(), and useCompactUnwind().
|
protected |
Definition at line 204 of file MCObjectFileInfo.h.
Referenced by getFourByteConstantSection(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 216 of file MCObjectFileInfo.h.
Referenced by getGFIDsSection(), and useCompactUnwind().
|
protected |
Definition at line 217 of file MCObjectFileInfo.h.
Referenced by getGLJMPSection(), and useCompactUnwind().
|
protected |
Definition at line 207 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 71 of file MCObjectFileInfo.h.
Referenced by getLSDASection(), and useCompactUnwind().
|
protected |
Definition at line 180 of file MCObjectFileInfo.h.
Referenced by getMergeableConst16Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 181 of file MCObjectFileInfo.h.
Referenced by getMergeableConst32Section(), and useCompactUnwind().
|
protected |
Definition at line 178 of file MCObjectFileInfo.h.
Referenced by getMergeableConst4Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 179 of file MCObjectFileInfo.h.
Referenced by getMergeableConst8Section(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 208 of file MCObjectFileInfo.h.
Referenced by getNonLazySymbolPointerSection(), and useCompactUnwind().
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().
|
protected |
Definition at line 213 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 67 of file MCObjectFileInfo.h.
Referenced by getReadOnlySection(), llvm::NVPTXTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::XCoreTargetObjectFile::Initialize(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Remarks section.
Definition at line 165 of file MCObjectFileInfo.h.
Referenced by getRemarksSection(), and useCompactUnwind().
|
protected |
Definition at line 206 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), getSixteenByteConstantSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
StackMap section.
Definition at line 159 of file MCObjectFileInfo.h.
Referenced by getStackMapSection(), and useCompactUnwind().
|
protected |
Section containing metadata on function stack sizes.
Definition at line 173 of file MCObjectFileInfo.h.
Referenced by getStackSizesSection(), and useCompactUnwind().
Definition at line 174 of file MCObjectFileInfo.h.
Referenced by getStackSizesSection().
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().
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().
|
protected |
Definition at line 215 of file MCObjectFileInfo.h.
Referenced by getSXDataSection(), and useCompactUnwind().
|
protected |
Definition at line 197 of file MCObjectFileInfo.h.
Referenced by getTextCoalSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Section directive for standard text.
Definition at line 55 of file MCObjectFileInfo.h.
Referenced by getTextSection(), llvm::AMDGPUTargetObjectFile::SelectSectionForGlobal(), llvm::XCoreTargetObjectFile::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 209 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 156 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 151 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 148 of file MCObjectFileInfo.h.
Referenced by getTLSExtraDataSection(), and useCompactUnwind().
Section for thread local data initialization functions.
Definition at line 193 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 189 of file MCObjectFileInfo.h.
Referenced by getTLSTLVSection(), and useCompactUnwind().
|
protected |
Definition at line 196 of file MCObjectFileInfo.h.
Referenced by getUStringSection(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and useCompactUnwind().
|
protected |
Definition at line 214 of file MCObjectFileInfo.h.
Referenced by getXDataSection(), and useCompactUnwind().
1.8.13