/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AsmBackend.cpp | 505 namespace CU { namespace 570 return CU::UNWIND_ARM64_MODE_FRAMELESS; in generateCompactUnwindEncoding() 583 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 594 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 597 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 601 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 604 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 607 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 617 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() 626 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding() [all …]
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfDebug.h | 281 SymbolCU(DwarfCompileUnit *CU, const MCSymbol *Sym) : Sym(Sym), CU(CU) {} in SymbolCU() 284 DwarfCompileUnit *CU; member 459 void ensureAbstractEntityIsCreated(DwarfCompileUnit &CU, 462 void ensureAbstractEntityIsCreatedIfScoped(DwarfCompileUnit &CU, 571 DwarfCompileUnit &constructSkeletonCU(const DwarfCompileUnit &CU); 627 void emitSectionReference(const DwarfCompileUnit &CU); 667 void addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier, 773 void terminateLineTable(const DwarfCompileUnit *CU); 782 const DwarfCompileUnit *CU); 786 const DwarfCompileUnit *CU); [all …]
|
H A D | DwarfDebug.cpp | 552 F(CU); in forBothCUs() 907 CU.addFlag(ScopeDIE, CU.getDwarf5OrGNUAttr(dwarf::DW_AT_call_all_calls)); in constructCallSiteEntryDIEs() 1098 return *CU; in getOrCreateDwarfCompileUnit() 1285 [&](DwarfCompileUnit &CU) { CU.finishSubprogramDefinition(SP); }); in finishSubprogramDefinitions() argument 1439 auto &CU = *P.second; in endModule() local 2981 assert(Cur.CU); in emitDebugARanges() 3011 if (Cur.CU != Prev.CU) { in emitDebugARanges() 3015 assert(Prev.CU); in emitDebugARanges() 3032 CUs.push_back(CU); in emitDebugARanges() 3046 CU = Skel; in emitDebugARanges() [all …]
|
H A D | DebugLocStream.h | 34 DwarfCompileUnit *CU; member 37 List(DwarfCompileUnit *CU, size_t EntryOffset) in List() 38 : CU(CU), EntryOffset(EntryOffset) {} in List() 80 size_t startList(DwarfCompileUnit *CU) { in startList() argument 82 Lists.emplace_back(CU, Entries.size()); in startList() 164 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, in ListBuilder() argument 166 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)), in ListBuilder()
|
H A D | DIEHash.h | 34 DIEHash(AsmPrinter *A = nullptr, DwarfCompileUnit *CU = nullptr) 35 : AP(A), CU(CU) {} in AP() 107 DwarfCompileUnit *CU; variable
|
H A D | DwarfExpression.h | 130 DwarfCompileUnit &CU; variable 285 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU) in DwarfExpression() argument 286 : CU(CU), SubRegisterSizeInBits(0), SubRegisterOffsetInBits(0), in DwarfExpression() 400 DwarfCompileUnit &CU) in DebugLocDwarfExpression() argument 401 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {} in DebugLocDwarfExpression() 429 DIEDwarfExpression(const AsmPrinter &AP, DwarfCompileUnit &CU, DIELoc &DIE);
|
H A D | AccelTable.cpp | 420 for (const auto &CU : enumerate(CompUnits)) { in emitCUList() local 421 Asm->OutStreamer->AddComment("Compilation unit " + Twine(CU.index())); in emitCUList() 422 Asm->emitDwarfSymbolReference(CU.value()); in emitCUList() 551 for (const auto &CU : enumerate(CUs)) { in emitDWARF5AccelTable() local 552 if (CU.value()->getCUNode()->getNameTableKind() != in emitDWARF5AccelTable() 555 CUIndex[CU.index()] = Count++; in emitDWARF5AccelTable() 556 assert(CU.index() == CU.value()->getUniqueID()); in emitDWARF5AccelTable() 558 DD.useSplitDwarf() ? CU.value()->getSkeleton() : CU.value().get(); in emitDWARF5AccelTable()
|
/openbsd/gnu/llvm/llvm/lib/DWARFLinker/ |
H A D | DWARFLinker.cpp | 57 auto CU = llvm::upper_bound( in getUnitForOffset() local 61 return CU != Units.end() ? CU->get() : nullptr; in getUnitForOffset() 226 SysRoot = CU.getSysRoot(); in analyzeImportedModule() 652 : CU.hasODR(); in lookForRefDIEsToKeep() 717 if (CU.getInfo(AncestorIdx).Keep) in lookForParentDIEsToKeep() 722 Worklist.emplace_back(CU.getInfo(AncestorIdx).ParentIdx, CU, Flags); in lookForParentDIEsToKeep() 2047 CompileUnit *CU = &U; in hashFullyQualifiedName() local 2064 CU = RefCU; in hashFullyQualifiedName() 2076 CU->getOrigUnit().getDIEAtIndex(CU->getInfo(Idx).ParentIdx).getTag() == in hashFullyQualifiedName() 2222 OnCUDieLoaded(*CU); in loadClangModule() [all …]
|
H A D | DWARFLinkerCompileUnit.cpp | 45 DWARFDie CU = getOrigUnit().getUnitDIE(); in getLanguage() local 46 Language = dwarf::toUnsigned(CU.find(dwarf::DW_AT_language), 0); in getLanguage() 53 DWARFDie CU = getOrigUnit().getUnitDIE(); in getSysRoot() local 54 SysRoot = dwarf::toStringRef(CU.find(dwarf::DW_AT_LLVM_sysroot)).str(); in getSysRoot()
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 36 CUInfo(DWARFContext &DICtx, DWARFCompileUnit *CU) { in CUInfo() 37 LineTable = DICtx.getLineTableForUnit(CU); in CUInfo() 38 CompDir = CU->getCompilationDir(); in CUInfo() 42 DWARFDie Die = CU->getUnitDIE(); in CUInfo() 44 AddrSize = CU->getAddressByteSize(); in CUInfo() 451 DWARFDie Die = getDie(*CU); in convert() 463 for (const auto &CU : DICtx.compile_units()) in convert() local 464 CU->getAbbreviations(); in convert() 469 for (const auto &CU : DICtx.compile_units()) in convert() local 470 pool.async([&CU]() { CU->getUnitDIE(false /*CUDieOnly*/); }); in convert() [all …]
|
/openbsd/gnu/llvm/llvm/include/llvm/DWARFLinker/ |
H A D | DWARFLinker.h | 389 CompileUnit &CU; member 396 WorklistItem(DWARFDie Die, CompileUnit &CU, unsigned Flags, 398 : Die(Die), Type(T), CU(CU), Flags(Flags), AncestorIdx(0) {} in Die() 400 WorklistItem(DWARFDie Die, CompileUnit &CU, WorklistItemType T, 402 : Die(Die), Type(T), CU(CU), Flags(0), OtherInfo(OtherInfo) {} in Die() 405 : Type(WorklistItemType::LookForParentDIEsToKeep), CU(CU), Flags(Flags), in WorklistItem() 469 void lookForParentDIEsToKeep(unsigned AncestorIdx, CompileUnit &CU, 475 void lookForChildDIEsToKeep(const DWARFDie &Die, CompileUnit &CU, 481 void lookForRefDIEsToKeep(const DWARFDie &Die, CompileUnit &CU, 488 void markODRCanonicalDie(const DWARFDie &Die, CompileUnit &CU); [all …]
|
/openbsd/gnu/llvm/llvm/tools/obj2yaml/ |
H A D | dwarf2yaml.cpp | 139 for (const auto &CU : DCtx.compile_units()) { in dumpDebugRanges() local 140 const uint8_t CUAddrSize = CU->getAddressByteSize(); in dumpDebugRanges() 214 for (const auto &CU : DCtx.compile_units()) { in dumpDebugInfo() local 216 NewUnit.Format = CU->getFormat(); in dumpDebugInfo() 217 NewUnit.Length = CU->getLength(); in dumpDebugInfo() 218 NewUnit.Version = CU->getVersion(); in dumpDebugInfo() 230 NewUnit.AddrSize = CU->getAddressByteSize(); in dumpDebugInfo() 231 for (auto DIE : CU->dies()) { in dumpDebugInfo() 247 DWARFDie DIEWrapper(CU.get(), &DIE); in dumpDebugInfo() 347 for (const auto &CU : DCtx.compile_units()) { in dumpDebugLines() local [all …]
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | ModuleDebugInfoPrinter.cpp | 79 for (DICompileUnit *CU : Finder.compile_units()) { in printModuleDebugInfo() 81 auto Lang = dwarf::LanguageString(CU->getSourceLanguage()); in printModuleDebugInfo() 85 O << "unknown-language(" << CU->getSourceLanguage() << ")"; in printModuleDebugInfo() 86 printFile(O, CU->getFilename(), CU->getDirectory()); in printModuleDebugInfo()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMAsmBackend.cpp | 1079 namespace CU { namespace 1151 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1164 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1178 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1188 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1193 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1214 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1242 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1262 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() 1276 return CU::UNWIND_ARM_MODE_DWARF; in generateCompactUnwindEncoding() [all …]
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFContext.cpp | 761 return CU->getDIEForOffset(Offset); in getDIEForOffset() 1150 if (!CU) in getDIEsForAddress() 1153 Result.CompileUnit = CU; in getDIEsForAddress() 1275 if (const auto *LT = CU->getContext().getLineTableForUnit(CU)) in addLocalsForDie() 1301 if (!CU) in getLocalsForAddress() 1314 if (!CU) in getLineInfoForAddress() 1335 if (!CU) in getLineInfoForDataAddress() 1350 if (!CU) in getLineInfoForAddressRange() 1406 if (!CU) in getInliningInfoForAddress() 1417 LineTable = getLineTableForUnit(CU); in getInliningInfoForAddress() [all …]
|
H A D | DWARFDebugAranges.cpp | 61 for (const auto &CU : CTX->compile_units()) { in generate() local 62 uint64_t CUOffset = CU->getOffset(); in generate() 64 Expected<DWARFAddressRangesVector> CURanges = CU->collectAddressRanges(); in generate()
|
H A D | DWARFVerifier.cpp | 819 for (const auto &CU : DCtx.compile_units()) { in verifyDebugLineStmtOffsets() local 820 auto Die = CU->getUnitDIE(); in verifyDebugLineStmtOffsets() 828 auto LineTable = DCtx.getLineTableForUnit(CU.get()); in verifyDebugLineStmtOffsets() 861 for (const auto &CU : DCtx.compile_units()) { in verifyDebugLineRows() local 862 auto Die = CU->getUnitDIE(); in verifyDebugLineRows() 888 FileIndex, CU->getCompilationDir(), in verifyDebugLineRows() 1081 for (const auto &CU : DCtx.compile_units()) in verifyDebugNamesCULists() local 1082 CUMap[CU->getOffset()] = NotIndexed; in verifyDebugNamesCULists() 1092 for (uint32_t CU = 0, End = NI.getCUCount(); CU < End; ++CU) { in verifyDebugNamesCULists() local 1093 uint64_t Offset = NI.getCUOffset(CU); in verifyDebugNamesCULists() [all …]
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 165 processCompileUnit(CU); in processModule() 178 if (!addCompileUnit(CU)) in processCompileUnit() 255 addCompileUnit(CU); in processScope() 324 if (!CU) in addCompileUnit() 329 CUs.push_back(CU); in addCompileUnit() 616 if (CU->getDWOId()) in getReplacementCU() 625 CU->getContext(), CU->getSourceLanguage(), File, CU->getProducer(), in getReplacementCU() 626 CU->isOptimized(), CU->getFlags(), CU->getRuntimeVersion(), in getReplacementCU() 629 CU->getDWOId(), CU->getSplitDebugInlining(), in getReplacementCU() 630 CU->getDebugInfoForProfiling(), CU->getNameTableKind(), in getReplacementCU() [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfdump/ |
H A D | llvm-dwarfdump.cpp | 386 for (const auto &CU : CUs) in filterByName() local 387 for (const auto &Entry : CU->dies()) { in filterByName() 388 DWARFDie Die = {CU.get(), &Entry}; in filterByName() 415 if (!CU) in toDie() 418 if (std::optional<uint64_t> DWOId = CU->getDWOId()) { in toDie() 420 CU = DICtx.getDWOCompileUnitForHash(*DWOId); in toDie() 421 if (!CU) in toDie() 425 return CU->getDIEForOffset(CU->getOffset() + *Off); in toDie() 512 for (const auto &CU : DICtx.compile_units()) { in collectObjectSources() local 518 StringRef CompDir = CU->getCompilationDir(); in collectObjectSources() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | CharUnits.h | 226 const clang::CharUnits &CU) { 227 return CU * Scale; 247 static unsigned getHashValue(const clang::CharUnits &CU) { 248 clang::CharUnits::QuantityType Quantity = CU.getQuantity();
|
/openbsd/lib/libssl/test/ |
H A D | CAssdh.cnf | 16 countryName_default = CU 17 countryName_value = CU
|
/openbsd/gnu/llvm/llvm/lib/ProfileData/ |
H A D | InstrProfCorrelator.cpp | 345 for (auto &CU : DICtx->normal_units()) in correlateProfileDataImpl() local 346 for (const auto &Entry : CU->dies()) in correlateProfileDataImpl() 347 maybeAddProbe(DWARFDie(CU.get(), &Entry)); in correlateProfileDataImpl() 348 for (auto &CU : DICtx->dwo_units()) in correlateProfileDataImpl() local 349 for (const auto &Entry : CU->dies()) in correlateProfileDataImpl() 350 maybeAddProbe(DWARFDie(CU.get(), &Entry)); in correlateProfileDataImpl()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | JMCInstrumenter.cpp | 106 DICompileUnit *CU = SP.getUnit(); in attachDebugInfo() local 107 assert(CU); in attachDebugInfo() 108 DIBuilder DB(M, false, CU); in attachDebugInfo() 115 CU, GV.getName(), /*LinkageName=*/StringRef(), SP.getFile(), in attachDebugInfo()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86AsmBackend.cpp | 1129 namespace CU { namespace 1346 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1360 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1404 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1421 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1426 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1430 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1432 CompactUnwindEncoding |= CU::UNWIND_MODE_BP_FRAME; in generateCompactUnwindEncoding() 1448 return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncoding() 1451 CompactUnwindEncoding |= CU::UNWIND_MODE_STACK_IND; in generateCompactUnwindEncoding() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
H A D | CoroEarly.cpp | 109 DICompileUnit *CU = *M.debug_compile_units_begin(); in buildDebugInfoForNoopResumeDestroyFunc() local 110 DIBuilder DB(M, /*AllowUnresolved*/ false, CU); in buildDebugInfoForNoopResumeDestroyFunc() 116 CU, /*Name=*/Name, /*LinkageName=*/Name, /*File=*/ CU->getFile(), in buildDebugInfoForNoopResumeDestroyFunc()
|