Lines Matching refs:CompileUnit
76 class CompileUnit;
128 bool setLastSeenDIE(CompileUnit &U, const DWARFDebugInfoEntryMinimal *Die);
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
185 class CompileUnit { class
198 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function in llvm::dsymutil::__anond69ad1180111::CompileUnit
214 CompileUnit(CompileUnit &&RHS) in CompileUnit() function in llvm::dsymutil::__anond69ad1180111::CompileUnit
275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
350 std::vector<std::tuple<DIE *, const CompileUnit *, DeclContext *,
393 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
399 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
411 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
417 void CompileUnit::fixupForwardReferences() { in fixupForwardReferences()
420 const CompileUnit *RefUnit; in fixupForwardReferences()
431 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc, in addFunctionRange()
438 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute()
445 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_t PcOffset) { in noteLocationAttribute()
451 void CompileUnit::addNameAccelerator(const DIE *Die, const char *Name, in addNameAccelerator()
458 void CompileUnit::addTypeAccelerator(const DIE *Die, const char *Name, in addTypeAccelerator()
494 const CompileUnit &Unit,
495 const std::vector<CompileUnit::AccelInfo> &Names);
518 void emitCompileUnitHeader(CompileUnit &Unit);
541 void emitUnitRangesEntries(CompileUnit &Unit, bool DoRangesSection);
548 void emitLocationsForUnit(const CompileUnit &Unit, DWARFContext &Dwarf);
560 void emitPubNamesForUnit(const CompileUnit &Unit);
563 void emitPubTypesForUnit(const CompileUnit &Unit);
674 void DwarfStreamer::emitCompileUnitHeader(CompileUnit &Unit) { in emitCompileUnitHeader()
755 void DwarfStreamer::emitUnitRangesEntries(CompileUnit &Unit, in emitUnitRangesEntries()
835 void DwarfStreamer::emitLocationsForUnit(const CompileUnit &Unit, in emitLocationsForUnit()
1030 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit()
1031 const std::vector<CompileUnit::AccelInfo> &Names) { in emitPubSectionForUnit()
1067 void DwarfStreamer::emitPubNamesForUnit(const CompileUnit &Unit) { in emitPubNamesForUnit()
1073 void DwarfStreamer::emitPubTypesForUnit(const CompileUnit &Unit) { in emitPubTypesForUnit()
1188 CompileUnit::DIEInfo &Info);
1201 const DebugMapObject &DMO, CompileUnit &CU,
1235 CompileUnit::DIEInfo &MyInfo,
1236 const DebugMapObject &DMO, CompileUnit &CU,
1241 CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo,
1246 CompileUnit &Unit,
1247 CompileUnit::DIEInfo &MyInfo, unsigned Flags);
1251 CompileUnit &Unit,
1252 CompileUnit::DIEInfo &MyInfo,
1256 CompileUnit::DIEInfo &Info);
1268 MutableArrayRef<CompileUnit> CompileUnits;
1274 MutableArrayRef<CompileUnit> CompileUnits, LinkOptions &Options) in DIECloner()
1289 DIE *cloneDIE(const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &U,
1322 CompileUnit &U, const DWARFFormValue &Val,
1340 const DWARFFormValue &Val, CompileUnit &Unit);
1353 const CompileUnit &Unit,
1360 CompileUnit &U, AttributeSpec AttrSpec,
1387 void patchRangesForUnit(const CompileUnit &Unit, DWARFContext &Dwarf) const;
1391 void generateUnitRanges(CompileUnit &Unit) const;
1396 void patchLineTableForUnit(CompileUnit &Unit, DWARFContext &OrigDwarf);
1399 void emitAcceleratorEntriesForUnit(CompileUnit &Unit);
1435 std::vector<CompileUnit> Units;
1470 static CompileUnit *getUnitForOffset(MutableArrayRef<CompileUnit> Units, in getUnitForOffset()
1474 [](uint32_t LHS, const CompileUnit &RHS) { in getUnitForOffset()
1485 const DwarfLinker &Linker, MutableArrayRef<CompileUnit> Units, in resolveDIEReference()
1487 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) { in resolveDIEReference()
1529 bool DeclContext::setLastSeenDIE(CompileUnit &U, in setLastSeenDIE()
1544 DeclContext &Context, const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &U, in getChildDeclContext()
1763 unsigned ParentIdx, CompileUnit &CU, in analyzeContextInfo()
1769 CompileUnit::DIEInfo &Info = CU.getInfo(MyIdx); in analyzeContextInfo()
2023 CompileUnit::DIEInfo &Info) { in hasValidRelocation()
2080 CompileUnit &Unit, in shouldKeepVariableDIE()
2081 CompileUnit::DIEInfo &MyInfo, in shouldKeepVariableDIE()
2121 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, in shouldKeepSubprogramDIE()
2122 CompileUnit::DIEInfo &MyInfo, unsigned Flags) { in shouldKeepSubprogramDIE()
2174 CompileUnit &Unit, in shouldKeepDIE()
2175 CompileUnit::DIEInfo &MyInfo, in shouldKeepDIE()
2204 CompileUnit::DIEInfo &MyInfo, in keepDIEAndDependencies()
2206 CompileUnit &CU, bool UseODR) { in keepDIEAndDependencies()
2235 CompileUnit *ReferencedCU; in keepDIEAndDependencies()
2237 resolveDIEReference(*this, MutableArrayRef<CompileUnit>(Units), Val, in keepDIEAndDependencies()
2240 CompileUnit::DIEInfo &Info = ReferencedCU->getInfo(RefIdx); in keepDIEAndDependencies()
2280 const DebugMapObject &DMO, CompileUnit &CU, in lookForDIEsToKeep()
2283 CompileUnit::DIEInfo &MyInfo = CU.getInfo(Idx); in lookForDIEsToKeep()
2366 CompileUnit &Unit) { in cloneDieReferenceAttribute()
2370 CompileUnit *RefUnit = nullptr; in cloneDieReferenceAttribute()
2381 CompileUnit::DIEInfo &RefInfo = RefUnit->getInfo(Idx); in cloneDieReferenceAttribute()
2479 const CompileUnit &Unit, AttributesInfo &Info) { in cloneAddressAttribute()
2515 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneScalarAttribute()
2559 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneAttribute()
2706 const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneDIE()
2710 CompileUnit::DIEInfo &Info = Unit.getInfo(Idx); in cloneDIE()
2876 void DwarfLinker::patchRangesForUnit(const CompileUnit &Unit, in patchRangesForUnit()
2925 void DwarfLinker::generateUnitRanges(CompileUnit &Unit) const { in generateUnitRanges()
2979 void DwarfLinker::patchLineTableForUnit(CompileUnit &Unit, in patchLineTableForUnit()
3108 void DwarfLinker::emitAcceleratorEntriesForUnit(CompileUnit &Unit) { in emitAcceleratorEntriesForUnit()
3335 std::unique_ptr<CompileUnit> Unit; in loadClangModule()
3363 Unit = llvm::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR, in loadClangModule()
3377 DIECloner(*this, RelocMgr, DIEAlloc, MutableArrayRef<CompileUnit>(*Unit), in loadClangModule()