Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h91 unsigned DwarfVersion : 4; variable
224 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU) in DwarfExpression() argument
227 LocationFlags(Unknown), DwarfVersion(DwarfVersion) {} in DwarfExpression()
338 DebugLocDwarfExpression(unsigned DwarfVersion, BufferByteStreamer &BS, in DebugLocDwarfExpression() argument
340 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {} in DebugLocDwarfExpression()
H A DDwarfDebug.cpp310 static AccelTableKind computeAccelTableKind(unsigned DwarfVersion, in computeAccelTableKind() argument
320 if (GenerateTypeUnits && (DwarfVersion < 5 || !TT.isOSBinFormatELF())) in computeAccelTableKind()
326 if (DwarfVersion >= 5) in computeAccelTableKind()
373 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug()
374 unsigned DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber in DwarfDebug() local
377 DwarfVersion = in DwarfDebug()
378 TT.isNVPTX() ? 2 : (DwarfVersion ? DwarfVersion : dwarf::DWARF_VERSION); in DwarfDebug()
380 bool Dwarf64 = DwarfVersion >= 3 && // DWARF64 was introduced in DWARFv3. in DwarfDebug()
410 DwarfVersion, GenerateTypeUnits, DebuggerTuning, A->TM.getTargetTriple()); in DwarfDebug()
417 UseGNUTLSOpcode = tuneForGDB() || DwarfVersion < 3; in DwarfDebug()
[all …]
H A DDwarfExpression.cpp193 if (DwarfVersion >= 4) in addStackValue()
315 DwarfVersion >= 4) in addMachineRegExpression()
330 if (DwarfVersion < 4) in addMachineRegExpression()
641 if (DwarfVersion >= 5 && CU.getDwarfDebug().useOpConvert()) { in addExpression()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp40 MCOPT(int, DwarfVersion) in MCOPT_EXP()
78 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP() local
80 MCBINDOPT(DwarfVersion); in MCOPT_EXP()
177 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp451 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main() local
452 if (DwarfVersion < 2 || DwarfVersion > 5) { in main()
453 errs() << ProgName << ": Dwarf version " << DwarfVersion in main()
457 Ctx.setDwarfVersion(DwarfVersion); in main()
460 if (DwarfVersion < 3) { in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/LowLevel/
H A DDWARFExpression.h58 enum DwarfVersion : uint8_t { enum
68 DwarfVersion Version; ///< Dwarf version where the Op was introduced.
72 Description(DwarfVersion Version, Ts... Op) in Description()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h
H A DDWARFLinker.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h66 void switchToDebugInfoSection(unsigned DwarfVersion);
73 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override;
80 unsigned DwarfVersion) override;
H A DDWARFLinker.h52 unsigned DwarfVersion) = 0;
153 unsigned DwarfVersion) = 0;
604 const uint16_t DwarfVersion) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h297 uint16_t DwarfVersion,
359 uint16_t DwarfVersion, std::optional<StringRef> Source) { in getFile() argument
362 DwarfVersion)); in getFile()
394 uint16_t DwarfVersion,
398 std::optional<StringRef> Source, uint16_t DwarfVersion,
401 DwarfVersion, FileNumber));
H A DMCTargetOptions.h69 int DwarfVersion = 0; variable
H A DMCContext.h234 uint16_t DwarfVersion = 4; variable
821 void setDwarfVersion(uint16_t v) { DwarfVersion = v; } in setDwarfVersion()
822 uint16_t getDwarfVersion() const { return DwarfVersion; } in getDwarfVersion()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitNonSemanticDI.cpp95 int64_t DwarfVersion = 0; in emitGlobalDI() local
122 DwarfVersion = in emitGlobalDI()
215 GR->buildConstantInt(DwarfVersion, MIRBuilder, I32Ty, false); in emitGlobalDI()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp
H A DDWARFStreamer.cpp
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerCompileUnit.cpp127 uint64_t CompileUnit::computeNextUnitOffset(uint16_t DwarfVersion) { in computeNextUnitOffset() argument
130 NextUnitOffset += (DwarfVersion >= 5) ? 12 : 11; // Header size in computeNextUnitOffset()
H A DDWARFStreamer.cpp155 void DwarfStreamer::switchToDebugInfoSection(unsigned DwarfVersion) { in switchToDebugInfoSection() argument
157 MC->setDwarfVersion(DwarfVersion); in switchToDebugInfoSection()
177 unsigned DwarfVersion) { in emitCompileUnitHeader() argument
178 switchToDebugInfoSection(DwarfVersion); in emitCompileUnitHeader()
188 Asm->emitInt16(DwarfVersion); in emitCompileUnitHeader()
190 if (DwarfVersion >= 5) { in emitCompileUnitHeader()
213 unsigned DwarfVersion) { in emitAbbrevs() argument
215 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp73 uint16_t DwarfVersion = getVersion(); in hasFileAtIndex() local
74 assert(DwarfVersion != 0 && in hasFileAtIndex()
76 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()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp127 unsigned DwarfVersion) { in emitAbbrevs() argument
129 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
H A DDWARFEmitterImpl.h66 unsigned DwarfVersion);
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp101 unsigned DwarfVersion; member
212 DwarfVersion = 0; in AssemblerInvocation()
301 Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 2, Diags); in CreateFromArgs()
522 Ctx.setDwarfVersion(Opts.DwarfVersion); in ExecuteAssemblerImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp164 CodeGenOpts.DwarfVersion = CI.getCodeGenOpts().DwarfVersion; in PCHContainerGenerator()

12