Home
last modified time | relevance | path

Searched refs:DwarfVersion (Results 1 – 25 of 37) 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.cpp306 static AccelTableKind computeAccelTableKind(unsigned DwarfVersion, in computeAccelTableKind() argument
316 if (GenerateTypeUnits && (DwarfVersion < 5 || !TT.isOSBinFormatELF())) in computeAccelTableKind()
322 if (DwarfVersion >= 5) in computeAccelTableKind()
368 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug()
369 unsigned DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber in DwarfDebug() local
372 DwarfVersion = in DwarfDebug()
373 TT.isNVPTX() ? 2 : (DwarfVersion ? DwarfVersion : dwarf::DWARF_VERSION); in DwarfDebug()
375 bool Dwarf64 = DwarfVersion >= 3 && // DWARF64 was introduced in DWARFv3. in DwarfDebug()
405 DwarfVersion, GenerateTypeUnits, DebuggerTuning, A->TM.getTargetTriple()); in DwarfDebug()
412 UseGNUTLSOpcode = tuneForGDB() || DwarfVersion < 3; in DwarfDebug()
[all …]
H A DDwarfExpression.cpp187 if (DwarfVersion >= 4) in addStackValue()
309 DwarfVersion >= 4) in addMachineRegExpression()
324 if (DwarfVersion < 4) in addMachineRegExpression()
635 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()
77 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP() local
79 MCBINDOPT(DwarfVersion); in MCOPT_EXP()
168 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags()
H A DMCDwarf.cpp578 uint16_t DwarfVersion, unsigned FileNumber) { in tryGetFile() argument
579 return Header.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in tryGetFile()
595 uint16_t DwarfVersion, unsigned FileNumber) { in tryGetFile() argument
609 if (DwarfVersion >= 5 && isRootFile(RootFile, Directory, FileName, Checksum)) in tryGetFile()
1560 static unsigned getCIEVersion(bool IsEH, unsigned DwarfVersion) { in getCIEVersion() argument
1563 switch (DwarfVersion) { in getCIEVersion()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp432 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main() local
433 if (DwarfVersion < 2 || DwarfVersion > 5) { in main()
434 errs() << ProgName << ": Dwarf version " << DwarfVersion in main()
438 Ctx.setDwarfVersion(DwarfVersion); in main()
441 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()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.h
/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.h75 int DwarfVersion = 0; variable
H A DMCContext.h233 uint16_t DwarfVersion = 4; variable
801 void setDwarfVersion(uint16_t v) { DwarfVersion = v; } in setDwarfVersion()
802 uint16_t getDwarfVersion() const { return DwarfVersion; } in getDwarfVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h
H A DDWARFLinker.h
H A DDWARFLinkerCompileUnit.h
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h65 void switchToDebugInfoSection(unsigned DwarfVersion);
72 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override;
79 unsigned DwarfVersion) override;
H A DDWARFLinkerCompileUnit.h186 uint64_t computeNextUnitOffset(uint16_t DwarfVersion);
/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/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.cpp772 uint16_t DwarfVersion) { in doesFormBelongToClass() argument
794 return (FC == DWARFFormValue::FC_SectionOffset) && (DwarfVersion <= 3); in doesFormBelongToClass()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp126 unsigned DwarfVersion) { in emitAbbrevs() argument
128 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
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.cpp2048 CompileUnit &Unit, const uint16_t DwarfVersion) const { in emitDebugAddrSection()
2053 if (DwarfVersion < 5) in emitDebugAddrSection()
2598 const uint16_t DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2599 const uint32_t UnitHeaderSize = DwarfVersion >= 5 ? 12 : 11; in cloneAllCompileUnits()
2603 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2615 OutputDebugInfoSize = CurrentUnit->computeNextUnitOffset(DwarfVersion); in cloneAllCompileUnits()
2641 emitDebugAddrSection(*CurrentUnit, DwarfVersion); in cloneAllCompileUnits()
2658 unsigned DwarfVersion = CurrentUnit->getOrigUnit().getVersion(); in cloneAllCompileUnits() local
2662 Emitter->emitCompileUnitHeader(*CurrentUnit, DwarfVersion); in cloneAllCompileUnits()
2665 CurrentUnit->computeNextUnitOffset(DwarfVersion)); in cloneAllCompileUnits()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp104 unsigned DwarfVersion; member
209 DwarfVersion = 0; in AssemblerInvocation()
297 Opts.DwarfVersion = getLastArgIntValue(Args, OPT_dwarf_version_EQ, 2, Diags); in CreateFromArgs()
518 Ctx.setDwarfVersion(Opts.DwarfVersion); in ExecuteAssemblerImpl()

12