Lines Matching refs:TheCU

457 void DwarfDebug::constructAndAddImportedEntityDIE(DwarfCompileUnit &TheCU,  in constructAndAddImportedEntityDIE()  argument
459 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
460 D->addChild(TheCU.constructImportedEntityDIE(N)); in constructAndAddImportedEntityDIE()
544 auto &TheCU = *P.second; in finalizeModuleInfo() local
547 TheCU.constructContainingTypeDIEs(); in finalizeModuleInfo()
552 auto *SkCU = TheCU.getSkeleton(); in finalizeModuleInfo()
555 uint64_t ID = DIEHash(Asm).computeCUSignature(TheCU.getUnitDie()); in finalizeModuleInfo()
556 TheCU.addUInt(TheCU.getUnitDie(), dwarf::DW_AT_GNU_dwo_id, in finalizeModuleInfo()
581 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in finalizeModuleInfo()
582 if (unsigned NumRanges = TheCU.getRanges().size()) { in finalizeModuleInfo()
590 U.setBaseAddress(TheCU.getRanges().front().getStart()); in finalizeModuleInfo()
591 U.attachRangesOrLowHighPC(U.getUnitDie(), TheCU.takeRanges()); in finalizeModuleInfo()
928 void DwarfDebug::collectVariableInfo(DwarfCompileUnit &TheCU, in collectVariableInfo() argument
969 DebugLocStream::ListBuilder List(DebugLocs, TheCU, *Asm, *RegVar, *MInsn); in collectVariableInfo()
1068 DwarfCompileUnit *TheCU = CUMap.lookup(SP->getUnit()); in beginFunction() local
1069 if (!TheCU) { in beginFunction()
1078 Asm->OutStreamer->getContext().setDwarfCompileUnitID(TheCU->getUniqueID()); in beginFunction()
1116 DwarfCompileUnit &TheCU = *CUMap.lookup(SP->getUnit()); in endFunction() local
1119 collectVariableInfo(TheCU, SP, ProcessedVars); in endFunction()
1122 TheCU.addRange(RangeSpan(Asm->getFunctionBegin(), Asm->getFunctionEnd())); in endFunction()
1126 if (TheCU.getCUNode()->getEmissionKind() == DICompileUnit::LineTablesOnly && in endFunction()
1157 TheCU.constructSubprogramScopeDIE(FnScope); in endFunction()
1158 if (auto *SkelCU = TheCU.getSkeleton()) in endFunction()
1701 DwarfCompileUnit *TheCU = I.second; in emitDebugRanges() local
1703 if (auto *Skel = TheCU->getSkeleton()) in emitDebugRanges()
1704 TheCU = Skel; in emitDebugRanges()
1707 for (const RangeSpanList &List : TheCU->getRangeLists()) { in emitDebugRanges()
1716 if (auto *Base = TheCU->getBaseAddress()) { in emitDebugRanges()
1776 auto &TheCU = *P.second; in emitDebugMacinfo() local
1777 auto *SkCU = TheCU.getSkeleton(); in emitDebugMacinfo()
1778 DwarfCompileUnit &U = SkCU ? *SkCU : TheCU; in emitDebugMacinfo()