/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.h | 152 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 D | DwarfDebug.cpp | 322 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 D | DwarfExpression.cpp | 186 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 D | MCTargetOptionsCommandFlags.cpp | 39 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 D | MCDwarf.cpp | 572 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 D | llvm-mc.cpp | 442 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 D | DWARFExpression.h | 57 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 D | DWARFFormValue.h | 361 uint16_t DwarfVersion);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCDwarf.h | 280 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 D | MCTargetOptions.h | 65 int DwarfVersion = 0; variable
|
H A D | MCContext.h | 231 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 D | DWARFStreamer.h | 68 void switchToDebugInfoSection(unsigned DwarfVersion); 75 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override; 82 unsigned DwarfVersion) override;
|
H A D | DWARFLinker.h | 51 unsigned DwarfVersion) = 0; 149 unsigned DwarfVersion) = 0; 598 const uint16_t DwarfVersion) const;
|
H A D | DWARFLinkerCompileUnit.h | 184 uint64_t computeNextUnitOffset(uint16_t DwarfVersion);
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFLinkerCompileUnit.cpp | 127 uint64_t CompileUnit::computeNextUnitOffset(uint16_t DwarfVersion) { in computeNextUnitOffset() argument 130 NextUnitOffset += (DwarfVersion >= 5) ? 12 : 11; // Header size in computeNextUnitOffset()
|
H A D | DWARFStreamer.cpp | 155 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 D | DWARFLinker.cpp | 2031 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 D | DWARFDebugLine.cpp | 73 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 D | DWARFFormValue.cpp | 762 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 D | DWARFEmitterImpl.cpp | 125 unsigned DwarfVersion) { in emitAbbrevs() argument 127 MC->setDwarfVersion(DwarfVersion); in emitAbbrevs()
|
H A D | DWARFEmitterImpl.h | 65 unsigned DwarfVersion);
|
/freebsd/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1as_main.cpp | 97 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 D | ObjectFilePCHContainerOperations.cpp | 163 CodeGenOpts.DwarfVersion = CI.getCodeGenOpts().DwarfVersion; in PCHContainerGenerator()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DebugOptions.def | 117 VALUE_DEBUGOPT(DwarfVersion, 3, 0)
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 1024 dwarf::Form BestForm(unsigned DwarfVersion) const { in BestForm() argument 1025 if (DwarfVersion > 3) in BestForm()
|