Home
last modified time | relevance | path

Searched refs:DwarfVersion (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp40 MCOPT(int, DwarfVersion) in MCOPT_EXP()
67 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP() local
69 MCBINDOPT(DwarfVersion); in MCOPT_EXP()
112 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags()
H A DMCDwarf.cpp536 uint16_t DwarfVersion, in tryGetFile() argument
538 return Header.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in tryGetFile()
554 uint16_t DwarfVersion, in tryGetFile() argument
569 if (isRootFile(RootFile, Directory, FileName, Checksum) && DwarfVersion >= 5) in tryGetFile()
1522 static unsigned getCIEVersion(bool IsEH, unsigned DwarfVersion) { in getCIEVersion() argument
1525 switch (DwarfVersion) { in getCIEVersion()
H A DMCContext.cpp885 return Table.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in getDwarfFile()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h153 unsigned DwarfVersion : 4; variable
286 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU) in DwarfExpression() argument
289 LocationFlags(Unknown), DwarfVersion(DwarfVersion) {} in DwarfExpression()
400 DebugLocDwarfExpression(unsigned DwarfVersion, BufferByteStreamer &BS, in DebugLocDwarfExpression() argument
402 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {} in DebugLocDwarfExpression()
H A DDwarfDebug.cpp342 if (DwarfVersion >= 5) in computeAccelTableKind()
392 DwarfVersion = in DwarfDebug()
393 TT.isNVPTX() ? 2 : (DwarfVersion ? DwarfVersion : dwarf::DWARF_VERSION); in DwarfDebug()
432 UseGNUTLSOpcode = tuneForGDB() || DwarfVersion < 3; in DwarfDebug()
435 UseDWARF2Bitfields = (DwarfVersion < 4) || tuneForGDB(); in DwarfDebug()
441 UseSegmentedStringOffsetsTable = DwarfVersion >= 5; in DwarfDebug()
458 if (DwarfVersion >= 5) { in DwarfDebug()
467 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
2102 uint16_t DwarfVersion, in recordSourceLine() argument
2109 if (Line != 0 && DwarfVersion >= 4) in recordSourceLine()
[all …]
H A DDwarfExpression.cpp186 if (DwarfVersion >= 4) in addStackValue()
300 DwarfVersion >= 4) in addMachineRegExpression()
315 if (DwarfVersion < 4) in addMachineRegExpression()
575 if (DwarfVersion >= 5 && CU.getDwarfDebug().useOpConvert()) { in addExpression()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp441 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main() local
442 if (DwarfVersion < 2 || DwarfVersion > 5) { in main()
443 errs() << ProgName << ": Dwarf version " << DwarfVersion in main()
447 Ctx.setDwarfVersion(DwarfVersion); in main()
450 if (DwarfVersion < 3) { in main()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h60 void switchToDebugInfoSection(unsigned DwarfVersion);
67 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override;
74 unsigned DwarfVersion) override;
H A DDWARFLinker.h115 unsigned DwarfVersion) = 0;
192 unsigned DwarfVersion) = 0;
H A DDWARFLinkerCompileUnit.h162 uint64_t computeNextUnitOffset(uint16_t DwarfVersion);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h58 enum DwarfVersion : uint8_t { enum
68 DwarfVersion Version; ///< Dwarf version where the Op was introduced.
71 Description(DwarfVersion Version = DwarfNA, Encoding Op1 = SizeNA,
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp117 void DwarfStreamer::switchToDebugInfoSection(unsigned DwarfVersion) { in switchToDebugInfoSection() argument
119 MC->setDwarfVersion(DwarfVersion); in switchToDebugInfoSection()
139 unsigned DwarfVersion) { in emitCompileUnitHeader() argument
140 switchToDebugInfoSection(DwarfVersion); in emitCompileUnitHeader()
150 Asm->emitInt16(DwarfVersion); in emitCompileUnitHeader()
152 if (DwarfVersion >= 5) { in emitCompileUnitHeader()
175 unsigned DwarfVersion) { in emitAbbrevs() argument
177 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
232 if (DwarfVersion >= 5) { in emitStrings()
236 Asm->emitInt16(DwarfVersion); in emitStrings()
H A DDWARFLinkerCompileUnit.cpp72 uint64_t CompileUnit::computeNextUnitOffset(uint16_t DwarfVersion) { in computeNextUnitOffset() argument
75 NextUnitOffset += (DwarfVersion >= 5) ? 12 : 11; // Header size in computeNextUnitOffset()
H A DDWARFLinker.cpp2141 const uint16_t DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2142 const uint32_t UnitHeaderSize = DwarfVersion >= 5 ? 12 : 11; in cloneAllCompileUnits()
2146 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2158 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2199 unsigned DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2203 Emitter->emitCompileUnitHeader(*CurrentUnit, DwarfVersion); in cloneAllCompileUnits()
2206 CurrentUnit->computeNextUnitOffset(DwarfVersion)); in cloneAllCompileUnits()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h237 uint16_t DwarfVersion,
297 Optional<MD5::MD5Result> Checksum, uint16_t DwarfVersion, in getFile() argument
301 DwarfVersion)); in getFile()
323 uint16_t DwarfVersion,
327 uint16_t DwarfVersion, unsigned FileNumber = 0) {
329 DwarfVersion, FileNumber));
H A DMCTargetOptions.h60 int DwarfVersion = 0; variable
H A DMCContext.h209 uint16_t DwarfVersion = 4; variable
790 void setDwarfVersion(uint16_t v) { DwarfVersion = v; } in setDwarfVersion()
791 uint16_t getDwarfVersion() const { return DwarfVersion; } in getDwarfVersion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp74 uint16_t DwarfVersion = getVersion(); in hasFileAtIndex() local
75 assert(DwarfVersion != 0 && in hasFileAtIndex()
77 if (DwarfVersion >= 5) in hasFileAtIndex()
85 uint16_t DwarfVersion = getVersion(); in getLastValidFileIndex() local
86 assert(DwarfVersion != 0 && in getLastValidFileIndex()
89 if (DwarfVersion >= 5) in getLastValidFileIndex()
96 uint16_t DwarfVersion = getVersion(); in getFileNameEntry() local
97 assert(DwarfVersion != 0 && in getFileNameEntry()
100 if (DwarfVersion >= 5) in getFileNameEntry()
H A DDWARFVerifier.cpp479 unsigned DwarfVersion = Die.getDwarfUnit()->getVersion(); in verifyDebugInfoAttribute() local
480 const DWARFSection &RangeSection = DwarfVersion < 5 in verifyDebugInfoAttribute()
486 StringRef(DwarfVersion < 5 ? ".debug_ranges" : ".debug_rnglists") + in verifyDebugInfoAttribute()
/freebsd-13.1/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp95 unsigned DwarfVersion; member
165 DwarfVersion = 0; in AssemblerInvocation()
238 Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 2, Diags); in CreateFromArgs()
435 Ctx.setDwarfVersion(Opts.DwarfVersion); in ExecuteAssemblerImpl()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h937 dwarf::Form BestForm(unsigned DwarfVersion) const { in BestForm() argument
938 if (DwarfVersion > 3) in BestForm()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp27 uint16_t DwarfVersion) { in debugStrOffsetsHeaderSize() argument
28 if (DwarfVersion <= 4) in debugStrOffsetsHeaderSize()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp1032 unsigned DwarfVersion, in RenderDebugEnablingArgs() argument
1056 if (DwarfVersion > 0) in RenderDebugEnablingArgs()
1058 Args.MakeArgString("-dwarf-version=" + Twine(DwarfVersion))); in RenderDebugEnablingArgs()
2543 unsigned DwarfVersion = DwarfVersionNum(Value); in CollectArgsForIntegratedAssembler() local
3850 unsigned DwarfVersion) { in renderDwarfFormat() argument
3857 if (DwarfVersion < 3) in renderDwarfFormat()
7457 DwarfVersion = DwarfVersionNum(GDwarfN->getSpelling()); in ConstructJob()
7459 if (DwarfVersion == 0) in ConstructJob()
7460 DwarfVersion = getToolChain().GetDefaultDwarfVersion(); in ConstructJob()
7485 RenderDebugEnablingArgs(Args, CmdArgs, DebugInfoKind, DwarfVersion, in ConstructJob()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp343 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum()
545 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
548 CGM.getCodeGenOpts().DwarfVersion >= 5)) in CreateCompileUnit()
555 CGM.getCodeGenOpts().DwarfVersion >= 5)) { in CreateCompileUnit()
1917 if (TPList && CGM.getCodeGenOpts().DwarfVersion >= 5) in CollectTemplateParams()
2976 CGM.getCodeGenOpts().DwarfVersion < 4) in CreateType()
3763 if (CGM.getCodeGenOpts().DwarfVersion < 5 && !OMD->isDirectMethod()) in getObjCMethodDeclaration()
5081 if (CGM.getCodeGenOpts().DwarfVersion >= 5 || SubprogramDirect.getInt()) in finalize()
5162 CGM.getCodeGenOpts().DwarfVersion == 4 && in getCallSiteRelatedAttrs()
5166 if (!SupportsDWARFv4Ext && CGM.getCodeGenOpts().DwarfVersion < 5) in getCallSiteRelatedAttrs()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def355 VALUE_CODEGENOPT(DwarfVersion, 3, 0)

12