Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfExpression.h152 unsigned DwarfVersion : 4; variable
285 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU) in DwarfExpression() argument
288 LocationFlags(Unknown), DwarfVersion(DwarfVersion) {} in DwarfExpression()
399 DebugLocDwarfExpression(unsigned DwarfVersion, BufferByteStreamer &BS, in DebugLocDwarfExpression() argument
401 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {} in DebugLocDwarfExpression()
H A DDwarfDebug.cpp322 if (DwarfVersion >= 5) in computeAccelTableKind()
372 DwarfVersion = in DwarfDebug()
373 TT.isNVPTX() ? 2 : (DwarfVersion ? DwarfVersion : dwarf::DWARF_VERSION); in DwarfDebug()
412 UseGNUTLSOpcode = tuneForGDB() || DwarfVersion < 3; in DwarfDebug()
414 UseDWARF2Bitfields = DwarfVersion < 4; in DwarfDebug()
420 UseSegmentedStringOffsetsTable = DwarfVersion >= 5; in DwarfDebug()
437 if (DwarfVersion >= 5) in DwarfDebug()
440 Asm->OutStreamer->getContext().setDwarfVersion(DwarfVersion); in DwarfDebug()
2171 uint16_t DwarfVersion, in recordSourceLine() argument
2178 if (Line != 0 && DwarfVersion >= 4) in recordSourceLine()
[all …]
H A DDwarfExpression.cpp186 if (DwarfVersion >= 4) in addStackValue()
308 DwarfVersion >= 4) in addMachineRegExpression()
323 if (DwarfVersion < 4) in addMachineRegExpression()
599 if (DwarfVersion >= 5 && CU.getDwarfDebug().useOpConvert()) { in addExpression()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCTargetOptionsCommandFlags.cpp39 MCOPT(int, DwarfVersion) in MCOPT_EXP()
69 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP() local
71 MCBINDOPT(DwarfVersion); in MCOPT_EXP()
139 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags()
H A DMCDwarf.cpp572 uint16_t DwarfVersion, unsigned FileNumber) { in tryGetFile() argument
573 return Header.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in tryGetFile()
589 uint16_t DwarfVersion, unsigned FileNumber) { in tryGetFile() argument
603 if (DwarfVersion >= 5 && isRootFile(RootFile, Directory, FileName, Checksum)) in tryGetFile()
1551 static unsigned getCIEVersion(bool IsEH, unsigned DwarfVersion) { in getCIEVersion() argument
1554 switch (DwarfVersion) { in getCIEVersion()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp442 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main() local
443 if (DwarfVersion < 2 || DwarfVersion > 5) { in main()
444 errs() << ProgName << ": Dwarf version " << DwarfVersion in main()
448 Ctx.setDwarfVersion(DwarfVersion); in main()
451 if (DwarfVersion < 3) { in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFExpression.h57 enum DwarfVersion : uint8_t { enum
67 DwarfVersion Version; ///< Dwarf version where the Op was introduced.
71 Description(DwarfVersion Version, Ts... Op) in Description()
H A DDWARFFormValue.h361 uint16_t DwarfVersion);
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h280 uint16_t DwarfVersion, unsigned FileNumber = 0);
341 uint16_t DwarfVersion, std::optional<StringRef> Source) { in getFile() argument
344 DwarfVersion)); in getFile()
371 uint16_t DwarfVersion, unsigned FileNumber = 0);
374 std::optional<StringRef> Source, uint16_t DwarfVersion,
377 DwarfVersion, FileNumber));
H A DMCTargetOptions.h65 int DwarfVersion = 0; variable
H A DMCContext.h231 uint16_t DwarfVersion = 4; variable
830 void setDwarfVersion(uint16_t v) { DwarfVersion = v; } in setDwarfVersion()
831 uint16_t getDwarfVersion() const { return DwarfVersion; } in getDwarfVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h68 void switchToDebugInfoSection(unsigned DwarfVersion);
75 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override;
82 unsigned DwarfVersion) override;
H A DDWARFLinker.h51 unsigned DwarfVersion) = 0;
149 unsigned DwarfVersion) = 0;
598 const uint16_t DwarfVersion) const;
H A DDWARFLinkerCompileUnit.h184 uint64_t computeNextUnitOffset(uint16_t DwarfVersion);
/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()
H A DDWARFLinker.cpp2031 CompileUnit &Unit, const uint16_t DwarfVersion) const { in emitDebugAddrSection()
2036 if (DwarfVersion < 5) in emitDebugAddrSection()
2578 const uint16_t DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2579 const uint32_t UnitHeaderSize = DwarfVersion >= 5 ? 12 : 11; in cloneAllCompileUnits()
2583 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2595 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2621 emitDebugAddrSection(*CurrentUnit, DwarfVersion); in cloneAllCompileUnits()
2638 unsigned DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2642 Emitter->emitCompileUnitHeader(*CurrentUnit, DwarfVersion); in cloneAllCompileUnits()
2645 CurrentUnit->computeNextUnitOffset(DwarfVersion)); in cloneAllCompileUnits()
/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()
H A DDWARFFormValue.cpp762 uint16_t DwarfVersion) { in doesFormBelongToClass() argument
785 return (FC == DWARFFormValue::FC_SectionOffset) && (DwarfVersion <= 3); in doesFormBelongToClass()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp125 unsigned DwarfVersion) { in emitAbbrevs() argument
127 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
H A DDWARFEmitterImpl.h65 unsigned DwarfVersion);
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp97 unsigned DwarfVersion; member
186 DwarfVersion = 0; in AssemblerInvocation()
272 Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 2, Diags); in CreateFromArgs()
490 Ctx.setDwarfVersion(Opts.DwarfVersion); in ExecuteAssemblerImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp163 CodeGenOpts.DwarfVersion = CI.getCodeGenOpts().DwarfVersion; in PCHContainerGenerator()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDebugOptions.def117 VALUE_DEBUGOPT(DwarfVersion, 3, 0)
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h1024 dwarf::Form BestForm(unsigned DwarfVersion) const { in BestForm() argument
1025 if (DwarfVersion > 3) in BestForm()

12