LLVM 22.0.0git
|
#include "llvm/MC/MCObjectFileInfo.h"
Protected Attributes | |
bool | SupportsWeakOmittedEHFrame = false |
True if target object file supports a weak_definition of constant 0 for an omitted EH frame. | |
bool | SupportsCompactUnwindWithoutEHFrame = false |
True if the target object file supports emitting a compact unwind section without an associated EH frame section. | |
bool | OmitDwarfIfHaveCompactUnwind = false |
OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind. | |
unsigned | FDECFIEncoding = 0 |
FDE CFI encoding. | |
unsigned | CompactUnwindDwarfEHFrameOnly = 0 |
Compact unwind encoding indicating that we should emit only an EH frame. | |
std::optional< sframe::ABI > | SFrameABIArch = {} |
SFrame ABI architecture byte. | |
MCSection * | TextSection = nullptr |
Section directive for standard text. | |
MCSection * | DataSection = nullptr |
Section directive for standard data. | |
MCSection * | BSSSection = nullptr |
Section that is default initialized to zero. | |
MCSection * | ReadOnlySection = nullptr |
Section that is readonly and can contain arbitrary initialized data. | |
MCSection * | LSDASection = nullptr |
If exception handling is supported by the target, this is the section the Language Specific Data Area information is emitted to. | |
MCSection * | CallGraphSection = nullptr |
Section containing call graph metadata. | |
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. | |
MCSection * | ImportCallSection = nullptr |
If import call optimization is supported by the target, this is the section to emit import call data to. | |
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 * | DwarfMacroSection = nullptr |
MCSection * | DwarfPubNamesSection = nullptr |
MCSection * | DwarfDebugNamesSection = nullptr |
Accelerator table sections. | |
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 * | DwarfMacroDWOSection = nullptr |
MCSection * | DwarfStrOffSection = nullptr |
The DWARF v5 string offset and address table sections. | |
MCSection * | DwarfAddrSection = nullptr |
MCSection * | DwarfRnglistsSection = nullptr |
The DWARF v5 range list section. | |
MCSection * | DwarfLoclistsSection = nullptr |
The DWARF v5 locations list section. | |
MCSection * | DwarfRnglistsDWOSection = nullptr |
The DWARF v5 range and location list sections for fission. | |
MCSection * | DwarfLoclistsDWOSection = nullptr |
MCSection * | DwarfCUIndexSection = nullptr |
MCSection * | DwarfTUIndexSection = nullptr |
MCSection * | DwarfGnuPubNamesSection = nullptr |
Section for newer gnu pubnames. | |
MCSection * | DwarfGnuPubTypesSection = nullptr |
Section for newer gnu pubtypes. | |
MCSection * | DwarfSwiftASTSection = nullptr |
MCSection * | COFFDebugSymbolsSection = nullptr |
MCSection * | COFFDebugTypesSection = nullptr |
MCSection * | COFFGlobalTypeHashesSection = nullptr |
MCSection * | TLSExtraDataSection = nullptr |
Extra TLS Variable Data section. | |
MCSection * | TLSDataSection = nullptr |
Section directive for Thread Local data. ELF, MachO, COFF, and Wasm. | |
MCSection * | TLSBSSSection = nullptr |
Section directive for Thread Local uninitialized data. | |
MCSection * | StackMapSection = nullptr |
StackMap section. | |
MCSection * | FaultMapSection = nullptr |
FaultMap section. | |
MCSection * | RemarksSection = nullptr |
Remarks section. | |
MCSection * | EHFrameSection = nullptr |
EH frame section. | |
MCSection * | SFrameSection = nullptr |
SFrame section. | |
MCSection * | StackSizesSection = nullptr |
Section containing metadata on function stack sizes. | |
MCSection * | PseudoProbeSection = nullptr |
Section for pseudo probe information used by AutoFDO. | |
MCSection * | PseudoProbeDescSection = nullptr |
MCSection * | LLVMStatsSection = nullptr |
MCSection * | DataRelROSection = nullptr |
MCSection * | MergeableConst4Section = nullptr |
MCSection * | MergeableConst8Section = nullptr |
MCSection * | MergeableConst16Section = nullptr |
MCSection * | MergeableConst32Section = nullptr |
MCSection * | TLSTLVSection = nullptr |
Section for thread local structure information. | |
const MCSection * | TLSThreadInitSection = nullptr |
Section for thread local data initialization functions. | |
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 * | AddrSigSection = nullptr |
MCSection * | DrectveSection = nullptr |
COFF specific sections. | |
MCSection * | PDataSection = nullptr |
MCSection * | XDataSection = nullptr |
MCSection * | SXDataSection = nullptr |
MCSection * | GEHContSection = nullptr |
MCSection * | GFIDsSection = nullptr |
MCSection * | GIATsSection = nullptr |
MCSection * | GLJMPSection = nullptr |
MCSection * | PPA2ListSection = nullptr |
MCSection * | ADASection = nullptr |
MCSection * | IDRLSection = nullptr |
MCSection * | TOCBaseSection = nullptr |
MCSection * | ReadOnly8Section = nullptr |
MCSection * | ReadOnly16Section = nullptr |
std::array< MCSection *, binaryformat::Swift5ReflectionSectionKind::last > | Swift5ReflectionSections = {} |
Definition at line 30 of file MCObjectFileInfo.h.
|
virtualdefault |
|
inline |
Definition at line 454 of file MCObjectFileInfo.h.
|
inline |
Definition at line 440 of file MCObjectFileInfo.h.
Referenced by llvm::MachObjectWriter::populateAddrSigSection().
Definition at line 1182 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::MCContext::getObjectFileType(), llvm::MCSectionELF::getUniqueID(), llvm::MCContext::IsELF, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, and llvm::ELF::SHT_LLVM_BB_ADDR_MAP.
Referenced by llvm::AsmPrinter::emitBBAddrMapSection().
|
inline |
Definition at line 283 of file MCObjectFileInfo.h.
Referenced by llvm::MCWinCOFFStreamer::emitLocalCommonSymbol(), and llvm::MipsTargetELFStreamer::finish().
Definition at line 1143 of file MCObjectFileInfo.cpp.
References CallGraphSection, llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::MCContext::getObjectFileType(), llvm::MCSectionELF::getUniqueID(), llvm::MCContext::IsELF, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, and llvm::ELF::SHT_PROGBITS.
Referenced by llvm::AsmPrinter::emitCallGraphSection().
|
inline |
Definition at line 355 of file MCObjectFileInfo.h.
Referenced by llvm::CodeViewDebug::beginModule().
|
inline |
Definition at line 358 of file MCObjectFileInfo.h.
|
inline |
Definition at line 361 of file MCObjectFileInfo.h.
|
inline |
Definition at line 275 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 287 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and llvm::X86FrameLowering::enableShrinkWrapping().
Definition at line 417 of file MCObjectFileInfo.h.
Definition at line 415 of file MCObjectFileInfo.h.
Definition at line 412 of file MCObjectFileInfo.h.
|
inline |
Definition at line 261 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFile::emitCGProfileMetadata(), llvm::TargetLoweringObjectFileELF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileCOFF::emitLinkerDirectives(), llvm::TargetLoweringObjectFileELF::emitModuleMetadata(), llvm::TargetLoweringObjectFileMachO::emitModuleMetadata(), llvm::TargetLoweringObjectFileCOFF::emitModuleMetadata(), llvm::TargetLoweringObjectFileELF::emitPersonalityValue(), llvm::AArch64_ELFTargetObjectFile::emitPersonalityValueImpl(), llvm::TargetLoweringObjectFile::emitPseudoProbeDescMetadata(), llvm::AArch64_ELFTargetObjectFile::getAuthPtrSlotSymbol(), llvm::AArch64_MachoTargetObjectFile::getAuthPtrSlotSymbol(), llvm::TargetLoweringObjectFile::getCallSiteEncoding(), llvm::TargetLoweringObjectFileELF::getCFIPersonalitySymbol(), llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol(), llvm::ARMElfTargetObjectFile::getDebugThreadLocalSymbol(), llvm::MipsTargetObjectFile::getDebugThreadLocalSymbol(), llvm::SystemZELFTargetObjectFile::getDebugThreadLocalSymbol(), llvm::X86ELFTargetObjectFile::getDebugThreadLocalSymbol(), llvm::TargetLoweringObjectFileELF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileMachO::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileWasm::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getExplicitSectionGlobal(), DXILTargetObjectFile::getExplicitSectionGlobal(), llvm::HexagonTargetObjectFile::getExplicitSectionGlobal(), llvm::XCoreTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileXCOFF::getFunctionEntryPointSymbol(), llvm::TargetLoweringObjectFileMachO::getIndirectSymViaGOTPCRel(), llvm::AArch64_ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::AArch64_MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::RISCVELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64MachoTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::X86_64ELFTargetObjectFile::getIndirectSymViaGOTPCRel(), llvm::ARMElfTargetObjectFile::getIndirectSymViaRWPI(), llvm::TargetLoweringObjectFileGOFF::getModuleMetadata(), llvm::TargetLoweringObjectFileELF::getSectionForCommandLines(), llvm::TargetLoweringObjectFileMachO::getSectionForCommandLines(), llvm::TargetLoweringObjectFileCOFF::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForExternalReference(), llvm::TargetLoweringObjectFileXCOFF::getSectionForFunctionDescriptor(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::TargetLoweringObjectFileELF::getSectionForMachineBasicBlock(), llvm::TargetLoweringObjectFileXCOFF::getSectionForTOCEntry(), llvm::TargetLoweringObjectFileELF::getStaticCtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticCtorSection(), llvm::TargetLoweringObjectFileWasm::getStaticCtorSection(), llvm::TargetLoweringObjectFileELF::getStaticDtorSection(), llvm::TargetLoweringObjectFileCOFF::getStaticDtorSection(), llvm::TargetMachine::getSymbol(), llvm::TargetLoweringObjectFile::getSymbolWithGlobalValueBase(), llvm::RISCVMCObjectFileInfo::getTextSectionAlignment(), llvm::RISCVELFTargetObjectFile::getTextSectionAlignment(), llvm::TargetLoweringObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileELF::getTTypeGlobalReference(), llvm::TargetLoweringObjectFileMachO::getTTypeGlobalReference(), llvm::AArch64_MachoTargetObjectFile::getTTypeGlobalReference(), llvm::ARMElfTargetObjectFile::getTTypeGlobalReference(), llvm::SparcELFTargetObjectFile::getTTypeGlobalReference(), llvm::X86_64MachoTargetObjectFile::getTTypeGlobalReference(), llvm::TargetLoweringObjectFile::getTTypeReference(), llvm::TargetLoweringObjectFileELF::getUniqueSectionForFunction(), llvm::HexagonTargetObjectFile::Initialize(), llvm::LanaiTargetObjectFile::Initialize(), llvm::M68kELFTargetObjectFile::Initialize(), llvm::MipsTargetObjectFile::Initialize(), llvm::RISCVELFTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileELF::InitializeELF(), llvm::TargetLoweringObjectFileWasm::InitializeWasm(), llvm::TargetLoweringObjectFileELF::lowerDSOLocalEquivalent(), llvm::TargetLoweringObjectFileCOFF::lowerRelativeReference(), llvm::TargetLoweringObjectFileELF::lowerSymbolDifference(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), llvm::R600AsmPrinter::runOnMachineFunction(), llvm::TargetLoweringObjectFileELF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileWasm::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal(), llvm::AVRTargetObjectFile::SelectSectionForGlobal(), and llvm::RISCVELFTargetObjectFile::SelectSectionForGlobal().
Definition at line 409 of file MCObjectFileInfo.h.
|
inline |
Definition at line 421 of file MCObjectFileInfo.h.
Definition at line 416 of file MCObjectFileInfo.h.
Definition at line 420 of file MCObjectFileInfo.h.
|
inline |
Definition at line 390 of file MCObjectFileInfo.h.
|
inline |
Definition at line 282 of file MCObjectFileInfo.h.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::AsmPrinter::emitCOFFReplaceableFunctionData(), llvm::MipsTargetELFStreamer::finish(), and llvm::NVPTXTargetObjectFile::SelectSectionForGlobal().
|
inline |
Definition at line 443 of file MCObjectFileInfo.h.
Referenced by llvm::AsmPrinter::emitCOFFReplaceableFunctionData(), llvm::MCWinCOFFStreamer::emitCommonSymbol(), and llvm::TargetLoweringObjectFileCOFF::emitLinkerDirectives().
|
inline |
Definition at line 334 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 288 of file MCObjectFileInfo.h.
Referenced by llvm::MCGenDwarfInfo::Emit(), llvm::DwarfUnit::emitCommonHeader(), EmitGenDwarfAbbrev(), and isDwarfSection().
|
inline |
Definition at line 323 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 319 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 322 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 326 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 340 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase(), and isDwarfSection().
|
inline |
Definition at line 309 of file MCObjectFileInfo.h.
Referenced by llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfAranges(), and isDwarfSection().
|
inline |
Definition at line 351 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
Definition at line 304 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 316 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 295 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), and isDwarfSection().
|
inline |
Definition at line 298 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 301 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 329 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and isDwarfSection().
|
inline |
Definition at line 289 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), llvm::MCGenDwarfInfo::Emit(), EmitGenDwarfInfo(), and isDwarfSection().
Definition at line 290 of file MCObjectFileInfo.h.
|
inline |
Definition at line 336 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 293 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfCompileUnit::applyStmtList(), llvm::MCDwarfLineTable::emit(), llvm::MCObjectStreamer::emitDwarfLineEndEntry(), llvm::DwarfCompileUnit::initStmtList(), isDwarfSection(), and llvm::DwarfCompileUnit::updateSubprogramScopeDIE().
|
inline |
Definition at line 294 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfLineStr::emitSection(), isDwarfSection(), and llvm::MCDwarfLineStr::MCDwarfLineStr().
|
inline |
Definition at line 337 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 344 of file MCObjectFileInfo.h.
|
inline |
Definition at line 312 of file MCObjectFileInfo.h.
|
inline |
Definition at line 308 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 348 of file MCObjectFileInfo.h.
|
inline |
Definition at line 313 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 347 of file MCObjectFileInfo.h.
|
inline |
Definition at line 314 of file MCObjectFileInfo.h.
|
inline |
Definition at line 296 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 297 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 310 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfCompileUnit::addScopeRangeList(), emitGenDwarfRanges(), and isDwarfSection().
|
inline |
Definition at line 341 of file MCObjectFileInfo.h.
|
inline |
Definition at line 311 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfUnit::addRnglistsBase(), and emitGenDwarfRanges().
|
inline |
Definition at line 335 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 338 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 339 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfUnit::addStringOffsetsStart(), and isDwarfSection().
|
inline |
Definition at line 307 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 353 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 352 of file MCObjectFileInfo.h.
Referenced by isDwarfSection().
|
inline |
Definition at line 333 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and isDwarfSection().
Definition at line 330 of file MCObjectFileInfo.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().
|
inline |
Definition at line 460 of file MCObjectFileInfo.h.
Definition at line 425 of file MCObjectFileInfo.h.
|
inline |
Definition at line 370 of file MCObjectFileInfo.h.
Referenced by llvm::FaultMaps::serializeToFaultMapSection().
|
inline |
Definition at line 273 of file MCObjectFileInfo.h.
Definition at line 422 of file MCObjectFileInfo.h.
|
inline |
Definition at line 447 of file MCObjectFileInfo.h.
Referenced by llvm::WinException::endModule().
|
inline |
Definition at line 448 of file MCObjectFileInfo.h.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 449 of file MCObjectFileInfo.h.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 450 of file MCObjectFileInfo.h.
Referenced by llvm::WinCFGuard::endModule().
|
inline |
Definition at line 455 of file MCObjectFileInfo.h.
|
inline |
Definition at line 286 of file MCObjectFileInfo.h.
Definition at line 1203 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::MCContext::getObjectFileType(), llvm::MCSectionELF::getUniqueID(), llvm::MCContext::IsELF, llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, and llvm::ELF::SHT_PROGBITS.
Referenced by llvm::AsmPrinter::emitKCFITrapEntry().
|
inline |
Definition at line 431 of file MCObjectFileInfo.h.
MCSection * MCObjectFileInfo::getLLVMStatsSection | ( | ) | const |
Definition at line 1264 of file MCObjectFileInfo.cpp.
References LLVMStatsSection.
|
inline |
Definition at line 285 of file MCObjectFileInfo.h.
Definition at line 397 of file MCObjectFileInfo.h.
Definition at line 400 of file MCObjectFileInfo.h.
Definition at line 391 of file MCObjectFileInfo.h.
Definition at line 394 of file MCObjectFileInfo.h.
|
inline |
Definition at line 434 of file MCObjectFileInfo.h.
Referenced by llvm::ARMAsmPrinter::emitEndOfAsmFile().
|
inline |
Definition at line 269 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
Definition at line 1268 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCContext::getObjectFileType(), getTextSection(), llvm::MCContext::IsELF, Name, llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHF_WRITE, and llvm::ELF::SHT_PROGBITS.
Referenced by llvm::AsmPrinter::emitPCSections().
|
inline |
Definition at line 444 of file MCObjectFileInfo.h.
|
inline |
Definition at line 453 of file MCObjectFileInfo.h.
Definition at line 1241 of file MCObjectFileInfo.cpp.
References llvm::StringRef::empty(), llvm::MCContext::getELFSection(), llvm::MCContext::getObjectFileType(), llvm::MCContext::getTargetTriple(), llvm::MCContext::IsELF, PseudoProbeDescSection, llvm::ELF::SHF_GROUP, and llvm::Triple::supportsCOMDAT().
Definition at line 1222 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSection::getName(), llvm::MCContext::getObjectFileType(), llvm::MCContext::IsELF, PseudoProbeSection, llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, and llvm::ELF::SHT_PROGBITS.
Referenced by llvm::MCPseudoProbeSections::emit().
|
inline |
Definition at line 284 of file MCObjectFileInfo.h.
|
inline |
Definition at line 371 of file MCObjectFileInfo.h.
Referenced by llvm::AsmPrinter::emitRemarksSection().
|
inline |
Definition at line 279 of file MCObjectFileInfo.h.
Referenced by llvm::MCSFrameEmitter::emit().
|
inline |
Definition at line 461 of file MCObjectFileInfo.h.
Definition at line 428 of file MCObjectFileInfo.h.
|
inline |
Definition at line 369 of file MCObjectFileInfo.h.
Referenced by llvm::StackMaps::serializeToStackMapSection().
Definition at line 1162 of file MCObjectFileInfo.cpp.
References llvm::MCSection::getBeginSymbol(), llvm::MCContext::getELFSection(), llvm::MCSectionELF::getGroup(), llvm::MCContext::getObjectFileType(), llvm::MCContext::getTargetTriple(), llvm::MCSectionELF::getUniqueID(), llvm::MCContext::IsELF, llvm::Triple::isPS4(), llvm::ELF::SHF_GROUP, llvm::ELF::SHF_LINK_ORDER, llvm::ELF::SHT_PROGBITS, and StackSizesSection.
Referenced by llvm::AsmPrinter::emitStackSizeSection().
|
inline |
Definition at line 266 of file MCObjectFileInfo.h.
Referenced by llvm::MCDwarfFrameEmitter::Emit().
|
inline |
Definition at line 263 of file MCObjectFileInfo.h.
|
inline |
Definition at line 466 of file MCObjectFileInfo.h.
References llvm::binaryformat::unknown.
|
inline |
Definition at line 446 of file MCObjectFileInfo.h.
Referenced by llvm::MCWinCOFFStreamer::emitCOFFSafeSEH().
|
inline |
Definition at line 411 of file MCObjectFileInfo.h.
|
inline |
Definition at line 281 of file MCObjectFileInfo.h.
Referenced by llvm::AMDGPUAsmPrinter::doFinalization(), llvm::AsmPrinter::doInitialization(), llvm::SystemZTargetStreamer::emitConstantPools(), llvm::MipsAsmPrinter::emitEndOfAsmFile(), llvm::MipsTargetELFStreamer::finish(), getPCSection(), and llvm::MCELFStreamer::initSections().
|
inlinevirtual |
Reimplemented in llvm::RISCVMCObjectFileInfo, and llvm::RISCVELFTargetObjectFile.
Definition at line 280 of file MCObjectFileInfo.h.
Referenced by llvm::MCELFStreamer::initSections().
|
inline |
Definition at line 437 of file MCObjectFileInfo.h.
Referenced by llvm::ARMAsmPrinter::emitEndOfAsmFile().
|
inline |
Definition at line 367 of file MCObjectFileInfo.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable().
Definition at line 366 of file MCObjectFileInfo.h.
|
inline |
Definition at line 365 of file MCObjectFileInfo.h.
Referenced by llvm::AsmPrinter::emitGlobalVariable().
Definition at line 406 of file MCObjectFileInfo.h.
Definition at line 405 of file MCObjectFileInfo.h.
|
inline |
Definition at line 458 of file MCObjectFileInfo.h.
Definition at line 410 of file MCObjectFileInfo.h.
|
inline |
Definition at line 445 of file MCObjectFileInfo.h.
void MCObjectFileInfo::initMCObjectFileInfo | ( | MCContext & | MCCtx, |
bool | PIC, | ||
bool | LargeCodeModel = false |
||
) |
Definition at line 1068 of file MCObjectFileInfo.cpp.
References CompactUnwindDwarfEHFrameOnly, CompactUnwindSection, llvm::dwarf::DW_EH_PE_absptr, DwarfAccelNamespaceSection, DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelTypesSection, EHFrameSection, FDECFIEncoding, llvm::MCContext::getObjectFileType(), llvm::MCContext::getTargetTriple(), llvm::MCContext::IsCOFF, llvm::MCContext::IsDXContainer, llvm::MCContext::IsELF, llvm::MCContext::IsGOFF, llvm::MCContext::IsMachO, llvm::MCContext::IsSPIRV, llvm::MCContext::IsWasm, llvm::MCContext::IsXCOFF, OmitDwarfIfHaveCompactUnwind, PIC, SFrameSection, SupportsCompactUnwindWithoutEHFrame, and SupportsWeakOmittedEHFrame.
Referenced by llvm::Target::createMCObjectFileInfo(), createRISCVMCObjectFileInfo(), and llvm::TargetLoweringObjectFile::Initialize().
|
inline |
Definition at line 463 of file MCObjectFileInfo.h.
Referenced by llvm::MipsAsmPrinter::emitStartOfAsmFile(), llvm::TargetLoweringObjectFileELF::Initialize(), and llvm::MipsTargetELFStreamer::MipsTargetELFStreamer().
|
protected |
Definition at line 245 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileGOFF::getModuleMetadata().
|
protected |
Definition at line 231 of file MCObjectFileInfo.h.
|
protected |
Section that is default initialized to zero.
Definition at line 64 of file MCObjectFileInfo.h.
Referenced by llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::HexagonTargetObjectFile::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
Section containing call graph metadata.
Definition at line 77 of file MCObjectFileInfo.h.
Referenced by getCallGraphSection().
|
protected |
Definition at line 152 of file MCObjectFileInfo.h.
|
protected |
Definition at line 153 of file MCObjectFileInfo.h.
|
protected |
Definition at line 154 of file MCObjectFileInfo.h.
|
protected |
Compact unwind encoding indicating that we should emit only an EH frame.
Definition at line 52 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
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 82 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 222 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 220 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 219 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 216 of file MCObjectFileInfo.h.
Referenced by llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
Definition at line 224 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 221 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 223 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 198 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
Section directive for standard data.
Definition at line 61 of file MCObjectFileInfo.h.
Referenced by llvm::NVPTXTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
COFF specific sections.
Definition at line 234 of file MCObjectFileInfo.h.
|
protected |
Definition at line 120 of file MCObjectFileInfo.h.
|
protected |
Definition at line 90 of file MCObjectFileInfo.h.
|
protected |
Definition at line 114 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 112 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 113 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 115 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 130 of file MCObjectFileInfo.h.
|
protected |
Definition at line 99 of file MCObjectFileInfo.h.
|
protected |
Definition at line 141 of file MCObjectFileInfo.h.
Definition at line 96 of file MCObjectFileInfo.h.
|
protected |
Accelerator table sections.
DwarfDebugNamesSection is the DWARF v5 accelerator table, while DwarfAccelNamesSection, DwarfAccelObjCSection, DwarfAccelNamespaceSection, DwarfAccelTypesSection are pre-DWARF v5 extensions.
Definition at line 111 of file MCObjectFileInfo.h.
|
protected |
Definition at line 94 of file MCObjectFileInfo.h.
|
protected |
Section for newer gnu pubnames.
Definition at line 145 of file MCObjectFileInfo.h.
|
protected |
Section for newer gnu pubtypes.
Definition at line 147 of file MCObjectFileInfo.h.
|
protected |
Definition at line 118 of file MCObjectFileInfo.h.
|
protected |
Definition at line 91 of file MCObjectFileInfo.h.
|
protected |
Definition at line 122 of file MCObjectFileInfo.h.
|
protected |
Definition at line 92 of file MCObjectFileInfo.h.
|
protected |
Definition at line 93 of file MCObjectFileInfo.h.
|
protected |
Definition at line 123 of file MCObjectFileInfo.h.
|
protected |
Definition at line 138 of file MCObjectFileInfo.h.
|
protected |
The DWARF v5 locations list section.
Definition at line 134 of file MCObjectFileInfo.h.
|
protected |
Definition at line 98 of file MCObjectFileInfo.h.
|
protected |
Definition at line 125 of file MCObjectFileInfo.h.
|
protected |
Definition at line 101 of file MCObjectFileInfo.h.
|
protected |
Definition at line 126 of file MCObjectFileInfo.h.
|
protected |
Definition at line 102 of file MCObjectFileInfo.h.
|
protected |
Definition at line 105 of file MCObjectFileInfo.h.
|
protected |
Definition at line 95 of file MCObjectFileInfo.h.
|
protected |
Definition at line 100 of file MCObjectFileInfo.h.
|
protected |
The DWARF v5 range and location list sections for fission.
Definition at line 137 of file MCObjectFileInfo.h.
|
protected |
The DWARF v5 range list section.
Definition at line 132 of file MCObjectFileInfo.h.
|
protected |
Definition at line 121 of file MCObjectFileInfo.h.
|
protected |
Definition at line 124 of file MCObjectFileInfo.h.
|
protected |
The DWARF v5 string offset and address table sections.
Definition at line 129 of file MCObjectFileInfo.h.
|
protected |
Definition at line 97 of file MCObjectFileInfo.h.
|
protected |
Definition at line 150 of file MCObjectFileInfo.h.
|
protected |
Definition at line 142 of file MCObjectFileInfo.h.
|
protected |
Definition at line 119 of file MCObjectFileInfo.h.
|
protected |
EH frame section.
It is initialized on demand so it can be overwritten (with uniquing).
Definition at line 182 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 226 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
FaultMap section.
Definition at line 174 of file MCObjectFileInfo.h.
|
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 initMCObjectFileInfo().
|
protected |
Definition at line 225 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 238 of file MCObjectFileInfo.h.
|
protected |
Definition at line 239 of file MCObjectFileInfo.h.
|
protected |
Definition at line 240 of file MCObjectFileInfo.h.
|
protected |
Definition at line 241 of file MCObjectFileInfo.h.
|
protected |
Definition at line 246 of file MCObjectFileInfo.h.
|
protected |
If import call optimization is supported by the target, this is the section to emit import call data to.
Definition at line 86 of file MCObjectFileInfo.h.
|
protected |
Definition at line 228 of file MCObjectFileInfo.h.
|
protected |
Definition at line 195 of file MCObjectFileInfo.h.
Referenced by getLLVMStatsSection().
|
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 74 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForLSDA(), llvm::TargetLoweringObjectFileXCOFF::getSectionForLSDA(), and llvm::ARMElfTargetObjectFile::Initialize().
|
protected |
|
protected |
Definition at line 202 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileELF::getSectionForConstant().
|
protected |
|
protected |
|
protected |
Definition at line 229 of file MCObjectFileInfo.h.
|
protected |
OmitDwarfIfHaveCompactUnwind - True if the target object file supports having some functions with compact unwind and other with dwarf unwind.
Definition at line 43 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 235 of file MCObjectFileInfo.h.
|
protected |
Definition at line 244 of file MCObjectFileInfo.h.
|
protected |
Definition at line 192 of file MCObjectFileInfo.h.
Referenced by getPseudoProbeDescSection().
|
protected |
Section for pseudo probe information used by AutoFDO.
Definition at line 191 of file MCObjectFileInfo.h.
Referenced by getPseudoProbeSection().
|
protected |
Definition at line 251 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileXCOFF::getSectionForConstant().
|
protected |
Definition at line 250 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileXCOFF::getSectionForConstant().
|
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 70 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileELF::getSectionForConstant(), llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), llvm::TargetLoweringObjectFileXCOFF::getSectionForConstant(), llvm::NVPTXTargetObjectFile::getSectionForConstant(), llvm::XCoreTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileXCOFF::getSectionForJumpTable(), llvm::TargetLoweringObjectFileELF::getSectionForJumpTable(), llvm::XCoreTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
Remarks section.
Definition at line 177 of file MCObjectFileInfo.h.
|
protected |
SFrame ABI architecture byte.
Definition at line 55 of file MCObjectFileInfo.h.
|
protected |
SFrame section.
Definition at line 185 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 227 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::getSectionForConstant(), and llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
StackMap section.
Definition at line 171 of file MCObjectFileInfo.h.
|
protected |
Section containing metadata on function stack sizes.
Definition at line 188 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 38 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
True if target object file supports a weak_definition of constant 0 for an omitted EH frame.
Definition at line 34 of file MCObjectFileInfo.h.
Referenced by initMCObjectFileInfo().
|
protected |
Definition at line 255 of file MCObjectFileInfo.h.
|
protected |
Definition at line 237 of file MCObjectFileInfo.h.
|
protected |
Definition at line 218 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Section directive for standard text.
Definition at line 58 of file MCObjectFileInfo.h.
Referenced by llvm::SPIRVTargetObjectFile::getExplicitSectionGlobal(), llvm::TargetLoweringObjectFileGOFF::getModuleMetadata(), llvm::SPIRVTargetObjectFile::getSectionForConstant(), llvm::TargetLoweringObjectFileGOFF::getSectionForLSDA(), llvm::ARMElfTargetObjectFile::Initialize(), llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileGOFF::SelectSectionForGlobal(), llvm::AMDGPUTargetObjectFile::SelectSectionForGlobal(), llvm::SPIRVTargetObjectFile::SelectSectionForGlobal(), and llvm::XCoreTargetObjectFile::SelectSectionForGlobal().
|
protected |
Definition at line 230 of file MCObjectFileInfo.h.
|
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 168 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Section directive for Thread Local data. ELF, MachO, COFF, and Wasm.
Definition at line 163 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal(), llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), and llvm::TargetLoweringObjectFileXCOFF::SelectSectionForGlobal().
|
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 160 of file MCObjectFileInfo.h.
Section for thread local data initialization functions.
Definition at line 214 of file MCObjectFileInfo.h.
|
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 210 of file MCObjectFileInfo.h.
|
protected |
Definition at line 249 of file MCObjectFileInfo.h.
|
protected |
Definition at line 217 of file MCObjectFileInfo.h.
Referenced by llvm::TargetLoweringObjectFileMachO::SelectSectionForGlobal().
|
protected |
Definition at line 236 of file MCObjectFileInfo.h.