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::__anon5c7ea04f0111::CompileUnit
214 CompileUnit(CompileUnit &&RHS) in CompileUnit() function in llvm::dsymutil::__anon5c7ea04f0111::CompileUnit
275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
351 std::vector<std::tuple<DIE *, const CompileUnit *, DeclContext *,
391 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
397 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
409 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
415 void CompileUnit::fixupForwardReferences() { in fixupForwardReferences()
418 const CompileUnit *RefUnit; in fixupForwardReferences()
429 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc, in addFunctionRange()
436 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute()
443 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_t PcOffset) { in noteLocationAttribute()
449 void CompileUnit::addNameAccelerator(const DIE *Die, const char *Name, in addNameAccelerator()
456 void CompileUnit::addTypeAccelerator(const DIE *Die, const char *Name, in addTypeAccelerator()
492 const CompileUnit &Unit,
493 const std::vector<CompileUnit::AccelInfo> &Names);
516 void emitCompileUnitHeader(CompileUnit &Unit);
539 void emitUnitRangesEntries(CompileUnit &Unit, bool DoRangesSection);
546 void emitLocationsForUnit(const CompileUnit &Unit, DWARFContext &Dwarf);
558 void emitPubNamesForUnit(const CompileUnit &Unit);
561 void emitPubTypesForUnit(const CompileUnit &Unit);
672 void DwarfStreamer::emitCompileUnitHeader(CompileUnit &Unit) { in emitCompileUnitHeader()
753 void DwarfStreamer::emitUnitRangesEntries(CompileUnit &Unit, in emitUnitRangesEntries()
833 void DwarfStreamer::emitLocationsForUnit(const CompileUnit &Unit, in emitLocationsForUnit()
1028 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit()
1029 const std::vector<CompileUnit::AccelInfo> &Names) { in emitPubSectionForUnit()
1065 void DwarfStreamer::emitPubNamesForUnit(const CompileUnit &Unit) { in emitPubNamesForUnit()
1071 void DwarfStreamer::emitPubTypesForUnit(const CompileUnit &Unit) { in emitPubTypesForUnit()
1186 CompileUnit::DIEInfo &Info);
1199 const DebugMapObject &DMO, CompileUnit &CU,
1233 CompileUnit::DIEInfo &MyInfo,
1234 const DebugMapObject &DMO, CompileUnit &CU,
1239 CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo,
1244 CompileUnit &Unit,
1245 CompileUnit::DIEInfo &MyInfo, unsigned Flags);
1249 CompileUnit &Unit,
1250 CompileUnit::DIEInfo &MyInfo,
1254 CompileUnit::DIEInfo &Info);
1266 MutableArrayRef<CompileUnit> CompileUnits;
1272 MutableArrayRef<CompileUnit> CompileUnits, LinkOptions &Options) in DIECloner()
1287 DIE *cloneDIE(const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &U,
1320 CompileUnit &U, const DWARFFormValue &Val,
1338 const DWARFFormValue &Val, CompileUnit &Unit);
1351 const CompileUnit &Unit,
1358 CompileUnit &U, AttributeSpec AttrSpec,
1385 void patchRangesForUnit(const CompileUnit &Unit, DWARFContext &Dwarf) const;
1389 void generateUnitRanges(CompileUnit &Unit) const;
1394 void patchLineTableForUnit(CompileUnit &Unit, DWARFContext &OrigDwarf);
1397 void emitAcceleratorEntriesForUnit(CompileUnit &Unit);
1433 std::vector<CompileUnit> Units;
1465 static CompileUnit *getUnitForOffset(MutableArrayRef<CompileUnit> Units, in getUnitForOffset()
1469 [](uint32_t LHS, const CompileUnit &RHS) { in getUnitForOffset()
1480 const DwarfLinker &Linker, MutableArrayRef<CompileUnit> Units, in resolveDIEReference()
1482 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) { in resolveDIEReference()
1524 bool DeclContext::setLastSeenDIE(CompileUnit &U, in setLastSeenDIE()
1539 DeclContext &Context, const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &U, in getChildDeclContext()
1756 unsigned ParentIdx, CompileUnit &CU, in analyzeContextInfo()
1762 CompileUnit::DIEInfo &Info = CU.getInfo(MyIdx); in analyzeContextInfo()
1968 CompileUnit::DIEInfo &Info) { in hasValidRelocation()
2023 CompileUnit &Unit, in shouldKeepVariableDIE()
2024 CompileUnit::DIEInfo &MyInfo, in shouldKeepVariableDIE()
2064 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, in shouldKeepSubprogramDIE()
2065 CompileUnit::DIEInfo &MyInfo, unsigned Flags) { in shouldKeepSubprogramDIE()
2117 CompileUnit &Unit, in shouldKeepDIE()
2118 CompileUnit::DIEInfo &MyInfo, in shouldKeepDIE()
2147 CompileUnit::DIEInfo &MyInfo, in keepDIEAndDependencies()
2149 CompileUnit &CU, bool UseODR) { in keepDIEAndDependencies()
2178 CompileUnit *ReferencedCU; in keepDIEAndDependencies()
2180 resolveDIEReference(*this, MutableArrayRef<CompileUnit>(Units), Val, in keepDIEAndDependencies()
2183 CompileUnit::DIEInfo &Info = ReferencedCU->getInfo(RefIdx); in keepDIEAndDependencies()
2223 const DebugMapObject &DMO, CompileUnit &CU, in lookForDIEsToKeep()
2226 CompileUnit::DIEInfo &MyInfo = CU.getInfo(Idx); in lookForDIEsToKeep()
2309 CompileUnit &Unit) { in cloneDieReferenceAttribute()
2313 CompileUnit *RefUnit = nullptr; in cloneDieReferenceAttribute()
2324 CompileUnit::DIEInfo &RefInfo = RefUnit->getInfo(Idx); in cloneDieReferenceAttribute()
2422 const CompileUnit &Unit, AttributesInfo &Info) { in cloneAddressAttribute()
2458 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneScalarAttribute()
2502 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneAttribute()
2649 const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit, in cloneDIE()
2653 CompileUnit::DIEInfo &Info = Unit.getInfo(Idx); in cloneDIE()
2819 void DwarfLinker::patchRangesForUnit(const CompileUnit &Unit, in patchRangesForUnit()
2868 void DwarfLinker::generateUnitRanges(CompileUnit &Unit) const { in generateUnitRanges()
2922 void DwarfLinker::patchLineTableForUnit(CompileUnit &Unit, in patchLineTableForUnit()
3051 void DwarfLinker::emitAcceleratorEntriesForUnit(CompileUnit &Unit) { in emitAcceleratorEntriesForUnit()
3245 std::unique_ptr<CompileUnit> Unit; in loadClangModule()
3265 Unit = llvm::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR, in loadClangModule()
3279 DIECloner(*this, RelocMgr, DIEAlloc, MutableArrayRef<CompileUnit>(*Unit), in loadClangModule()