/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFGdbIndex.cpp | 27 OS << format("\n CU list offset = 0x%x, has %" PRId64 " entries:", 31 for (const CompUnitEntry &CU : CuList) 32 OS << format(" %d: Offset = 0x%llx, Length = 0x%llx\n", I++, CU.Offset, 33 CU.Length); 37 OS << formatv("\n Types CU list offset = {0:x}, has {1} entries:\n", 52 " Low/High address = [0x%llx, 0x%llx) (Size: 0x%llx), CU id = %d\n", 68 OS << format(" %d: Name offset = 0x%x, CU vector offset = 0x%x\n", I, 81 OS << format(" String name: %s, CU vector index: %d\n", Name.data(), 87 OS << format("\n Constant pool offset = 0x%x, has %" PRId64 " CU vectors:", 139 // CU Type [all...] |
H A D | DWARFUnit.cpp | 131 auto *CU = local 136 if (CU != end && (*CU)->getOffset() <= Offset) 137 return CU->get(); 150 auto *CU = local 155 if (CU != end && (*CU)->getOffset() <= Offset) 156 return CU->get(); 166 this->insert(CU, std::move(U)); 226 // support it (probably have to linearly search for the matching skeleton CU [all...] |
H A D | DWARFFormValue.cpp | 239 const DWARFUnit *CU) { 240 if (!Ctx && CU) 241 Ctx = &CU->getContext(); 243 U = CU; 236 extractValue(const DWARFDataExtractor &Data, uint64_t *OffsetPtr, dwarf::FormParams FP, const DWARFContext *Ctx, const DWARFUnit *CU) argument
|
H A D | DWARFDebugLine.cpp | 1113 for (const auto &CU : CUs) 1114 if (auto CUDIE = CU->getUnitDIE()) 1116 LineToUnit.insert(std::make_pair(*StmtOffset, &*CU));
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfExpression.cpp | 328 emitOp(CU.getDwarf5OrGNULocationAtom(dwarf::DW_OP_entry_value)); 454 // Reuse the base_type if we already have one in this CU otherwise we 456 unsigned I = 0, E = CU.ExprRefedBaseTypes.size(); 458 if (CU.ExprRefedBaseTypes[I].BitSize == BitSize && 459 CU.ExprRefedBaseTypes[I].Encoding == Encoding) 463 CU.ExprRefedBaseTypes.emplace_back(BitSize, Encoding);
|
H A D | AccelTable.cpp | 187 /// and static data entries. A callback abstract the logic to provide a CU 367 assert(CompUnitCount > 0 && "Index must have at least one CU."); 426 for (const auto &CU : enumerate(CompUnits)) { 427 Asm->OutStreamer->AddComment("Compilation unit " + Twine(CU.index())); 428 Asm->emitDwarfSymbolReference(CU.value()); 557 for (const auto &CU : enumerate(CUs)) { 558 if (CU.value()->getCUNode()->getNameTableKind() != 561 CUIndex[CU.index()] = Count++; 562 assert(CU.index() == CU [all...] |
H A D | DwarfUnit.h | 51 /// Emitted at the end of the CU and used to compute the CU Length field. 346 DwarfCompileUnit &CU; member in class:llvm::final 355 DwarfTypeUnit(DwarfCompileUnit &CU, AsmPrinter *A, DwarfDebug *DW, 371 DwarfCompileUnit &getCU() override { return CU; }
|
H A D | DwarfUnit.cpp | 50 DwarfCompileUnit &CU, DIELoc &DIE) 51 : DwarfExpression(AP.getDwarfVersion(), CU), AP(AP), OutDIE(DIE) {} 54 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Op); 58 CU.addSInt(getActiveDIE(), dwarf::DW_FORM_sdata, Value); 62 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_udata, Value); 66 CU.addUInt(getActiveDIE(), dwarf::DW_FORM_data1, Value); 70 CU.addBaseTypeRef(getActiveDIE(), Idx); 97 DwarfTypeUnit::DwarfTypeUnit(DwarfCompileUnit &CU, AsmPrinter *A, argument 100 : DwarfUnit(dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), CU(C 49 DIEDwarfExpression(const AsmPrinter &AP, DwarfCompileUnit &CU, DIELoc &DIE) argument 383 const DIEUnit *CU = Die.getUnit(); local [all...] |
H A D | CodeViewDebug.cpp | 771 const auto *CU = cast<DICompileUnit>(Node); local 774 Flags = MapDWLangToCVLang(CU->getSourceLanguage()); 783 StringRef CompilerVersion = CU->getProducer(); 828 const auto *CU = cast<DICompileUnit>(Node); local 829 const DIFile *MainSourceFile = CU->getFile(); 2992 const auto *CU = cast<DICompileUnit>(Node); local 2993 for (const auto *GVE : CU->getGlobalVariables()) {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86AsmBackend.cpp | 781 namespace CU { namespace in namespace:__anon5416 805 } // end CU namespace 927 return CU::UNWIND_MODE_DWARF; 943 return CU::UNWIND_MODE_DWARF; 947 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; 949 CompactUnwindEncoding |= CU::UNWIND_MODE_BP_FRAME; 951 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS; 958 CompactUnwindEncoding |= CU::UNWIND_MODE_STACK_IMMD; 965 return CU::UNWIND_MODE_DWARF; 968 CompactUnwindEncoding |= CU [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | StripSymbols.cpp | 327 // Any CU referenced from a subprogram is live. 373 for (DICompileUnit *CU : LiveCUs) 374 NMD->addOperand(CU);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 1121 auto *CU = cast<DICompileUnit>(SrcCompileUnits->getOperand(I)); local 1122 assert(CU && "Expected valid compile unit"); 1128 ValueMap.MD()[CU->getRawEnumTypes()].reset(nullptr); 1129 ValueMap.MD()[CU->getRawMacros()].reset(nullptr); 1130 ValueMap.MD()[CU->getRawRetainedTypes()].reset(nullptr); 1140 ValueMap.MD()[CU->getRawGlobalVariables()].reset(nullptr); 1152 // functions they are local to instead of listing them on the CU, and 1156 for (auto *IE : CU->getImportedEntities()) { 1166 CU->replaceImportedEntities(MDTuple::get( 1167 CU [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 124 std::string mangleName(const DICompileUnit *CU, GCovFileType FileType); 521 std::string GCOVProfiler::mangleName(const DICompileUnit *CU, 531 if (dyn_cast<MDNode>(N->getOperand(ThreeElement ? 2 : 1)) != CU) 554 SmallString<128> Filename = CU->getFilename(); 716 auto *CU = cast<DICompileUnit>(CU_Nodes->getOperand(i)); 719 if (CU->getDWOId()) 723 raw_fd_ostream out(mangleName(CU, GCovFileType::GCNO), EC, 1034 auto *CU = cast<DICompileUnit>(CUNodes->getOperand(i)); 1037 if (CU->getDWOId()) 1040 std::string FilenameGcda = mangleName(CU, GCovFileTyp [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Debugify.cpp | 82 auto CU = DIB.createCompileUnit(dwarf::DW_LANG_C, File, "debugify", local 95 auto SP = DIB.createFunction(CU, F.getName(), F.getName(), File, NextLine,
|
H A D | CloneFunction.cpp | 196 for (DICompileUnit *CU : DIFinder.compile_units()) 197 VMap.MD()[CU].reset(CU);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAsmPrinter.cpp | 184 const auto *CU = cast<DICompileUnit>(Debug->getOperand(I)); local 185 StringRef Language = dwarf::LanguageString(CU->getSourceLanguage());
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFContext.h | 380 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
|
H A D | DWARFAcceleratorTable.h | 304 /// Returns the Offset of the DIE within the containing CU or TU. 420 /// Reads offset of compilation unit CU. CU is 0-based. 421 uint64_t getCUOffset(uint32_t CU) const;
|
/freebsd-12-stable/usr.bin/tip/tip/ |
H A D | tip.h | 73 EXTERN char *CU; /* call unit if making a phone call */ variable
|
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
H A D | Statistics.cpp | 463 for (const auto &CU : static_cast<DWARFContext *>(&DICtx)->compile_units()) 464 if (DWARFDie CUDie = CU->getNonSkeletonUnitDIE(false))
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Type.cpp | 565 const ConstantInt *CU = dyn_cast_or_null<ConstantInt>(C); local 566 return CU && CU->getZExtValue() < STy->getNumElements();
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineOutliner.cpp | 1163 DICompileUnit *CU = SP->getUnit(); local 1164 DIBuilder DB(M, true, CU);
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 236 const DwarfCompileUnit *CU; member in class:llvm::DIEBaseTypeRef 242 : CU(TheCU), Index(Idx) {} 785 /// information and gives each DIE a chance to figure out its CU relative DIE
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 453 // Keep mapping of seens pair of old-style CU <-> SP, and update pointers to 454 // point from SP to CU after a block is completly parsed. 483 /// Upgrade old-style CU <-> SP pointers to point from SP to CU. 501 auto *CU = cast<DICompileUnit>(CUNodes->getOperand(I)); local 502 if (auto *GVs = dyn_cast_or_null<MDTuple>(CU->getRawGlobalVariables())) 1466 auto *CU = DICompileUnit::getDistinct( local 1478 MetadataList.assignValue(CU, NextMetadataNo); 1483 CUSubprograms.push_back({CU, SPs});
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | DIBuilder.h | 101 /// If \p CU is given a value other than nullptr, then set \p CUNode to CU. 103 DICompileUnit *CU = nullptr);
|