Home | History | Annotate | Download | only in dsymutil

Lines Matching defs:CompileUnit

76 class CompileUnit;
128 bool setLastSeenDIE(CompileUnit &U, const DWARFDebugInfoEntryMinimal *Die);
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
185 class CompileUnit {
198 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR,
214 CompileUnit(CompileUnit &&RHS)
218 // The CompileUnit container has been 'reserve()'d with the right
275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
351 std::vector<std::tuple<DIE *, const CompileUnit *, DeclContext *,
391 void CompileUnit::markEverythingAsKept() {
397 uint64_t CompileUnit::computeNextUnitOffset() {
409 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
415 void CompileUnit::fixupForwardReferences() {
418 const CompileUnit *RefUnit;
429 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc,
436 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) {
443 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_t PcOffset) {
449 void CompileUnit::addNameAccelerator(const DIE *Die, const char *Name,
456 void CompileUnit::addTypeAccelerator(const DIE *Die, const char *Name,
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) {
677 // already been computed in CompileUnit::computeOffsets(). Substract
753 void DwarfStreamer::emitUnitRangesEntries(CompileUnit &Unit,
833 void DwarfStreamer::emitLocationsForUnit(const CompileUnit &Unit,
1028 MCSection *Sec, StringRef SecName, const CompileUnit &Unit,
1029 const std::vector<CompileUnit::AccelInfo> &Names) {
1065 void DwarfStreamer::emitPubNamesForUnit(const CompileUnit &Unit) {
1071 void DwarfStreamer::emitPubTypesForUnit(const CompileUnit &Unit) {
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)
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;
1464 /// CompileUnit object instead.
1465 static CompileUnit *getUnitForOffset(MutableArrayRef<CompileUnit> Units,
1469 [](uint32_t LHS, const CompileUnit &RHS) {
1477 /// CompileUnit which is stored into \p ReferencedCU.
1480 const DwarfLinker &Linker, MutableArrayRef<CompileUnit> Units,
1482 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) {
1524 bool DeclContext::setLastSeenDIE(CompileUnit &U,
1539 DeclContext &Context, const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &U,
1756 unsigned ParentIdx, CompileUnit &CU,
1762 CompileUnit::DIEInfo &Info = CU.getInfo(MyIdx);
1968 CompileUnit::DIEInfo &Info) {
2023 CompileUnit &Unit,
2024 CompileUnit::DIEInfo &MyInfo,
2064 const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit,
2065 CompileUnit::DIEInfo &MyInfo, unsigned Flags) {
2117 CompileUnit &Unit,
2118 CompileUnit::DIEInfo &MyInfo,
2147 CompileUnit::DIEInfo &MyInfo,
2149 CompileUnit &CU, bool UseODR) {
2178 CompileUnit *ReferencedCU;
2180 resolveDIEReference(*this, MutableArrayRef<CompileUnit>(Units), Val,
2183 CompileUnit::DIEInfo &Info = ReferencedCU->getInfo(RefIdx);
2223 const DebugMapObject &DMO, CompileUnit &CU,
2226 CompileUnit::DIEInfo &MyInfo = CU.getInfo(Idx);
2309 CompileUnit &Unit) {
2313 CompileUnit *RefUnit = nullptr;
2324 CompileUnit::DIEInfo &RefInfo = RefUnit->getInfo(Idx);
2422 const CompileUnit &Unit, AttributesInfo &Info) {
2458 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit,
2502 DIE &Die, const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit,
2649 const DWARFDebugInfoEntryMinimal &InputDIE, CompileUnit &Unit,
2653 CompileUnit::DIEInfo &Info = Unit.getInfo(Idx);
2819 void DwarfLinker::patchRangesForUnit(const CompileUnit &Unit,
2868 void DwarfLinker::generateUnitRanges(CompileUnit &Unit) const {
2922 void DwarfLinker::patchLineTableForUnit(CompileUnit &Unit,
3051 void DwarfLinker::emitAcceleratorEntriesForUnit(CompileUnit &Unit) {
3245 std::unique_ptr<CompileUnit> Unit;
3265 Unit = llvm::make_unique<CompileUnit>(*CU, UnitID++, !Options.NoODR,
3279 DIECloner(*this, RelocMgr, DIEAlloc, MutableArrayRef<CompileUnit>(*Unit),