| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCTargetOptionsCommandFlags.cpp | 40 MCOPT(int, DwarfVersion) in MCOPT_EXP() 66 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP() local 68 MCBINDOPT(DwarfVersion); in MCOPT_EXP() 107 Options.DwarfVersion = getDwarfVersion(); in InitMCTargetOptionsFromFlags()
|
| H A D | MCDwarf.cpp | 536 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() 1557 static unsigned getCIEVersion(bool IsEH, unsigned DwarfVersion) { in getCIEVersion() argument 1560 switch (DwarfVersion) { in getCIEVersion()
|
| H A D | MCContext.cpp | 870 return Table.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in getDwarfFile()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfExpression.h | 153 unsigned DwarfVersion : 4; variable 286 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU) in DwarfExpression() argument 289 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 | 327 static AccelTableKind computeAccelTableKind(unsigned DwarfVersion, in computeAccelTableKind() argument 342 if (DwarfVersion >= 5) in computeAccelTableKind() 388 unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion; in DwarfDebug() 389 unsigned DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber in DwarfDebug() local 392 DwarfVersion = in DwarfDebug() 393 TT.isNVPTX() ? 2 : (DwarfVersion ? DwarfVersion : dwarf::DWARF_VERSION); in DwarfDebug() 395 bool Dwarf64 = DwarfVersion >= 3 && // DWARF64 was introduced in DWARFv3. in DwarfDebug() 425 DwarfVersion, GenerateTypeUnits, DebuggerTuning, A->TM.getTargetTriple()); in DwarfDebug() 432 UseGNUTLSOpcode = tuneForGDB() || DwarfVersion < 3; in DwarfDebug() 435 UseDWARF2Bitfields = (DwarfVersion < 4) || tuneForGDB(); in DwarfDebug() [all …]
|
| H A D | DwarfExpression.cpp | 186 if (DwarfVersion >= 4) in addStackValue() 300 DwarfVersion >= 4) in addMachineRegExpression() 315 if (DwarfVersion < 4) in addMachineRegExpression() 576 if (DwarfVersion >= 5 && CU.getDwarfDebug().useOpConvert()) { in addExpression()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mc/ |
| H A D | llvm-mc.cpp | 408 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main() local 409 if (DwarfVersion < 2 || DwarfVersion > 5) { in main() 410 errs() << ProgName << ": Dwarf version " << DwarfVersion in main() 414 Ctx.setDwarfVersion(DwarfVersion); in main() 417 if (DwarfVersion < 3) { in main()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/ |
| H A D | DWARFStreamer.cpp | 117 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 D | DWARFLinkerCompileUnit.cpp | 72 uint64_t CompileUnit::computeNextUnitOffset(uint16_t DwarfVersion) { in computeNextUnitOffset() argument 75 NextUnitOffset += (DwarfVersion >= 5) ? 12 : 11; // Header size in computeNextUnitOffset()
|
| H A D | DWARFLinker.cpp | 2141 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFStreamer.h | 60 void switchToDebugInfoSection(unsigned DwarfVersion); 67 void emitCompileUnitHeader(CompileUnit &Unit, unsigned DwarfVersion) override; 74 unsigned DwarfVersion) override;
|
| H A D | DWARFLinker.h | 115 unsigned DwarfVersion) = 0; 192 unsigned DwarfVersion) = 0;
|
| H A D | DWARFLinkerCompileUnit.h | 162 uint64_t computeNextUnitOffset(uint16_t DwarfVersion);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFExpression.h | 58 enum DwarfVersion : uint8_t { enum 68 DwarfVersion Version; ///< Dwarf version where the Op was introduced. 71 Description(DwarfVersion Version = DwarfNA, Encoding Op1 = SizeNA,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCDwarf.h | 237 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 D | MCTargetOptions.h | 59 int DwarfVersion = 0; variable
|
| H A D | MCContext.h | 207 uint16_t DwarfVersion = 4; variable 785 void setDwarfVersion(uint16_t v) { DwarfVersion = v; } in setDwarfVersion() 786 uint16_t getDwarfVersion() const { return DwarfVersion; } in getDwarfVersion()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 74 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 D | DWARFVerifier.cpp | 479 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 95 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | DIE.h | 937 dwarf::Form BestForm(unsigned DwarfVersion) const { in BestForm() argument 938 if (DwarfVersion > 3) in BestForm()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 1026 unsigned DwarfVersion, in RenderDebugEnablingArgs() argument 1050 if (DwarfVersion > 0) in RenderDebugEnablingArgs() 1052 Args.MakeArgString("-dwarf-version=" + Twine(DwarfVersion))); in RenderDebugEnablingArgs() 2536 unsigned DwarfVersion = DwarfVersionNum(Value); in CollectArgsForIntegratedAssembler() local 2537 if (DwarfVersion == 0) { // Send it onward, and let cc1as complain. in CollectArgsForIntegratedAssembler() 2542 DwarfVersion, llvm::DebuggerKind::Default); in CollectArgsForIntegratedAssembler() 3842 unsigned DwarfVersion) { in renderDwarfFormat() argument 3849 if (DwarfVersion < 3) in renderDwarfFormat() 7400 unsigned DwarfVersion = ParseDebugDefaultVersion(getToolChain(), Args); in ConstructJob() local 7402 DwarfVersion = DwarfVersionNum(GDwarfN->getSpelling()); in ConstructJob() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/ |
| H A D | llvm-dwp.cpp | 70 uint16_t DwarfVersion) { in debugStrOffsetsHeaderSize() argument 71 if (DwarfVersion <= 4) in debugStrOffsetsHeaderSize()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 370 CGM.getCodeGenOpts().DwarfVersion < 5) in computeChecksum() 571 else if (LO.CPlusPlus14 && CGM.getCodeGenOpts().DwarfVersion >= 5) in CreateCompileUnit() 573 else if (LO.CPlusPlus11 && CGM.getCodeGenOpts().DwarfVersion >= 5) in CreateCompileUnit() 1936 if (TPList && CGM.getCodeGenOpts().DwarfVersion >= 5) in CollectTemplateParams() 3780 if (CGM.getCodeGenOpts().DwarfVersion < 5 && !OMD->isDirectMethod()) in getObjCMethodDeclaration() 5080 if (CGM.getCodeGenOpts().DwarfVersion >= 5 || SubprogramDirect.getInt()) in finalize() 5161 CGM.getCodeGenOpts().DwarfVersion == 4 && in getCallSiteRelatedAttrs() 5165 if (!SupportsDWARFv4Ext && CGM.getCodeGenOpts().DwarfVersion < 5) in getCallSiteRelatedAttrs()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | CodeGenOptions.def | 350 VALUE_CODEGENOPT(DwarfVersion, 3, 0)
|