Lines Matching refs:DIE

69                                           const DWARFDie &DIE,  in resolveDIEReference()  argument
81 reportWarning("could not find referenced DIE", File, &DIE); in resolveDIEReference()
210 const DWARFDie &DIE, CompileUnit &CU, in analyzeImportedModule() argument
219 StringRef Path = dwarf::toStringRef(DIE.find(dwarf::DW_AT_LLVM_include_path)); in analyzeImportedModule()
223 StringRef SysRoot = dwarf::toStringRef(DIE.find(dwarf::DW_AT_LLVM_sysroot)); in analyzeImportedModule()
228 Optional<const char*> Name = dwarf::toString(DIE.find(dwarf::DW_AT_name)); in analyzeImportedModule()
241 DIE); in analyzeImportedModule()
315 const DWARFDie &DIE, unsigned ParentIdx, CompileUnit &CU, in analyzeContextInfo() argument
322 Worklist.emplace_back(DIE, CurrentDeclContext, ParentIdx, InImportedModule); in analyzeContextInfo()
391 return CU.getInfo(DIE).Prune; in analyzeContextInfo()
426 const DWARFDie &DIE, in shouldKeepVariableDIE() argument
429 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE()
443 const bool HasLiveMemoryLocation = RelocMgr.isLiveVariable(DIE, MyInfo); in shouldKeepVariableDIE()
453 DIE.dump(outs(), 8 /* Indent */, DumpOpts); in shouldKeepVariableDIE()
462 AddressesMap &RelocMgr, RangesTy &Ranges, const DWARFDie &DIE, in shouldKeepSubprogramDIE() argument
467 auto LowPc = dwarf::toAddress(DIE.find(dwarf::DW_AT_low_pc)); in shouldKeepSubprogramDIE()
472 if (!RelocMgr.isLiveSubprogram(DIE, MyInfo)) in shouldKeepSubprogramDIE()
480 DIE.dump(outs(), 8 /* Indent */, DumpOpts); in shouldKeepSubprogramDIE()
483 if (DIE.getTag() == dwarf::DW_TAG_label) { in shouldKeepSubprogramDIE()
501 Optional<uint64_t> HighPc = DIE.getHighPC(*LowPc); in shouldKeepSubprogramDIE()
504 &DIE); in shouldKeepSubprogramDIE()
509 File, &DIE); in shouldKeepSubprogramDIE()
522 const DWARFDie &DIE, const DWARFFile &File, in shouldKeepDIE() argument
526 switch (DIE.getTag()) { in shouldKeepDIE()
529 return shouldKeepVariableDIE(RelocMgr, DIE, MyInfo, Flags); in shouldKeepDIE()
532 return shouldKeepSubprogramDIE(RelocMgr, Ranges, DIE, File, Unit, MyInfo, in shouldKeepDIE()
883 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, in cloneStringAttribute()
906 DIE &Die, const DWARFDie &InputDIE, AttributeSpec AttrSpec, in cloneDieReferenceAttribute()
912 DIE *NewRefDie = nullptr; in cloneDieReferenceAttribute()
940 RefInfo.Clone = DIE::get(DIEAlloc, dwarf::Tag(RefDie.getTag())); in cloneDieReferenceAttribute()
1016 if (DIE *Clone = Info.Clone) in cloneExpression()
1042 DIE &Die, const DWARFFile &File, CompileUnit &Unit, AttributeSpec AttrSpec, in cloneBlockAttribute()
1097 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, in cloneAddressAttribute()
1174 DIE &Die, const DWARFDie &InputDIE, const DWARFFile &File, in cloneScalarAttribute()
1242 DIE &Die, const DWARFDie &InputDIE, const DWARFFile &File, in cloneAttribute()
1301 const DIE *Die, in addObjCAccelerator()
1369 DIE *DWARFLinker::DIECloner::cloneDIE(const DWARFDie &InputDIE, in cloneDIE()
1374 DIE *Die) { in cloneDIE()
1389 Info.Clone = DIE::get(DIEAlloc, dwarf::Tag(InputDIE.getTag())); in cloneDIE()
1557 if (DIE *Clone = cloneDIE(Child, File, Unit, StringPool, PCOffset, in cloneDIE()
1667 static void patchStmtList(DIE &Die, DIEInteger Offset) { in patchStmtList()
1954 uint32_t DWARFLinker::DIECloner::hashFullyQualifiedName(DWARFDie DIE, in hashFullyQualifiedName() argument
1964 if (const char *CurrentName = DIE.getName(DINameKind::ShortName)) in hashFullyQualifiedName()
1967 if (!(Ref = DIE.find(dwarf::DW_AT_specification)) && in hashFullyQualifiedName()
1968 !(Ref = DIE.find(dwarf::DW_AT_abstract_origin))) in hashFullyQualifiedName()
1976 Linker.resolveDIEReference(File, CompileUnits, *Ref, DIE, RefCU)) { in hashFullyQualifiedName()
1979 DIE = RefDIE; in hashFullyQualifiedName()
1983 unsigned Idx = OrigUnit->getDIEIndex(DIE); in hashFullyQualifiedName()
1984 if (!Name && DIE.getTag() == dwarf::DW_TAG_namespace) in hashFullyQualifiedName()
2138 [&](const Twine &Warning, const DWARFDie &DIE) { in loadClangModule() argument
2139 reportWarning(Warning, File, &DIE); in loadClangModule()
2268 DIE *CUDie = DIE::get(DIEAlloc, dwarf::DW_TAG_compile_unit); in emitPaperTrailWarnings()
2298 DIE &ConstDie = CUDie->addChild(DIE::get(DIEAlloc, dwarf::DW_TAG_constant)); in emitPaperTrailWarnings()
2535 [&](const Twine &Warning, const DWARFDie &DIE) { in link() argument
2536 reportWarning(Warning, Context.File, &DIE); in link()