Lines Matching defs:CU

368   // CU's DW_AT_GNU_ranges_base.
650 // skeleton CU and so we don't need to duplicate it here.
749 DwarfCompileUnit &CU = constructDwarfCompileUnit(CUNode);
759 CU.createGlobalVariableDIE(DIGlobalVariable(GVs.getElement(i)));
762 SPMap.insert(std::make_pair(SPs.getElement(i), &CU));
765 CU.getOrCreateTypeDIE(EnumTypes.getElement(i));
772 CU.getOrCreateTypeDIE(UniqueTy);
777 constructImportedEntityDIE(CU, ImportedEntities.getElement(i));
819 // Perhaps the subprogram is in another CU (such as due to comdat
858 "CU's subprogram list contains a non-subprogram");
860 "CU's subprogram list contains a subprogram declaration");
897 // Add CU specific attributes if we need to add any.
900 // CU then add the dwo id to it.
904 // Emit a unique identifier for this CU.
911 // We don't keep track of which addresses are used in which CU so this
1590 // Add the range of this function to the list of ranges for the CU.
1816 // dwarf pubnames - offset/name pairs where the offset is the offset into the CU
1820 // into the CU and the index value is computed according to the type of value
1827 /// computeIndexValue - Compute the gdb index value for the DIE and CU.
1828 static dwarf::PubIndexEntryDescriptor computeIndexValue(DwarfUnit *CU,
1848 dwarf::GIEK_TYPE, CU->getLanguage() != dwarf::DW_LANG_C_plus_plus
2042 const DwarfCompileUnit *CU = Entry.getCU();
2043 if (CU->getRanges().size() == 1) {
2045 const MCSymbol *Base = CU->getRanges()[0].getStart();
2069 // The start of the CU or CU subrange that encloses this range?)
2085 // Emit a debug aranges section, containing a CU lookup for any
2086 // address we can tie back to a CU.
2107 // Build a set of address spans, sorted by CU.
2135 if (Cur.CU)
2136 Spans[Cur.CU].push_back(Span);
2145 // Try and build the longest span we can within the same CU.
2146 if (Cur.CU != Prev.CU) {
2150 Spans[Prev.CU].push_back(Span);
2162 DwarfCompileUnit *CU = it.first;
2163 CUs.push_back(CU);
2166 // Sort the CU list (again, to ensure consistent output order).
2171 // Emit an arange table for each CU we used.
2172 for (DwarfCompileUnit *CU : CUs) {
2173 std::vector<ArangeSpan> &List = Spans[CU];
2178 sizeof(int32_t) + // Offset of CU in the .debug_info section
2197 Asm->EmitSectionOffset(CU->getLocalLabelBegin(), CU->getLocalSectionSym());
2267 // Now emit a range for the CU itself.
2304 DwarfCompileUnit &DwarfDebug::constructSkeletonCU(const DwarfCompileUnit &CU) {
2307 CU.getUniqueID(), CU.getCUNode(), Asm, this, &SkeletonHolder);
2314 initSkeletonUnit(CU, NewCU.getUnitDie(), std::move(OwnedUnit));
2322 DwarfCompileUnit &CU = static_cast<DwarfCompileUnit &>(
2325 auto OwnedUnit = make_unique<DwarfTypeUnit>(TU.getUniqueID(), CU, Asm, this,
2372 MCDwarfDwoLineTable *DwarfDebug::getDwoLineTable(const DwarfCompileUnit &CU) {
2376 SplitTypeUnitFileTable.setCompilationDir(CU.getCUNode().getDirectory());
2391 void DwarfDebug::addDwarfTypeUnitType(DwarfCompileUnit &CU,
2402 CU.addDIETypeSignature(RefDie, *TU);
2410 make_unique<DwarfTypeUnit>(InfoHolder.getUnits().size(), CU, Asm, this,
2411 &InfoHolder, getDwoLineTable(CU));
2419 CU.getLanguage());
2425 CU.applyStmtList(UnitDie);
2450 // Construct this type in the CU directly.
2454 CU.constructTypeDIE(RefDie, CTy);
2466 CU.addDIETypeSignature(RefDie, NewTU);