| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 24 void dumpDebugAbbrev(DWARFContext &DCtx, DWARFYAML::Data &Y) { in dumpDebugAbbrev() argument 25 auto AbbrevSetPtr = DCtx.getDebugAbbrev(); in dumpDebugAbbrev() 51 Error dumpDebugAddr(DWARFContext &DCtx, DWARFYAML::Data &Y) { in dumpDebugAddr() argument 53 DWARFDataExtractor AddrData(DCtx.getDWARFObj(), in dumpDebugAddr() 84 DataExtractor StrData = DCtx.getStringExtractor(); in dumpDebugStrings() 101 DCtx.isLittleEndian(), 0); in dumpDebugARanges() 138 for (const auto &CU : DCtx.compile_units()) { in dumpDebugRanges() 148 DCtx.isLittleEndian(), AddrSize); in dumpDebugRanges() 198 const DWARFObject &D = DCtx.getDWARFObj(); in dumpDebugPubSections() 213 for (const auto &CU : DCtx.compile_units()) { in dumpDebugInfo() [all …]
|
| H A D | obj2yaml.h | 49 void dumpDebugAbbrev(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 50 llvm::Error dumpDebugAddr(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 51 llvm::Error dumpDebugARanges(llvm::DWARFContext &DCtx, 53 void dumpDebugPubSections(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 54 void dumpDebugInfo(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 55 void dumpDebugLines(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 56 llvm::Error dumpDebugRanges(llvm::DWARFContext &DCtx, llvm::DWARFYAML::Data &Y); 57 llvm::Error dumpDebugStrings(llvm::DWARFContext &DCtx,
|
| H A D | macho2yaml.cpp | 60 : Obj(O), DWARFCtx(std::move(DCtx)), RawSegment(RawSegments) {} in MachODumper() 138 static Error dumpDebugSection(StringRef SecName, DWARFContext &DCtx, in dumpDebugSection() argument 141 dumpDebugAbbrev(DCtx, DWARF); in dumpDebugSection() 145 return dumpDebugARanges(DCtx, DWARF); in dumpDebugSection() 147 dumpDebugInfo(DCtx, DWARF); in dumpDebugSection() 151 dumpDebugLines(DCtx, DWARF); in dumpDebugSection() 156 dumpDebugPubSections(DCtx, DWARF); in dumpDebugSection() 160 return dumpDebugRanges(DCtx, DWARF); in dumpDebugSection() 162 return dumpDebugStrings(DCtx, DWARF); in dumpDebugSection() 625 std::unique_ptr<DWARFContext> DCtx = DWARFContext::create(Obj); in macho2yaml() local [all …]
|
| H A D | elf2yaml.cpp | 107 ELFDumper(const object::ELFFile<ELFT> &O, std::unique_ptr<DWARFContext> DCtx); 115 std::unique_ptr<DWARFContext> DCtx) in ELFDumper() argument 116 : Obj(O), DWARFCtx(std::move(DCtx)) {} in ELFDumper()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFVerifier.cpp | 326 const DWARFObject &DObj = DCtx.getDWARFObj(); in handleDebugAbbrev() 366 const DWARFObject &DObj = DCtx.getDWARFObj(); in verifyUnitSection() 453 const DWARFObject &DObj = DCtx.getDWARFObj(); in handleDebugInfo() 579 const DWARFObject &DObj = DCtx.getDWARFObj(); in verifyDebugInfoAttribute() 819 for (const auto &CU : DCtx.compile_units()) { in verifyDebugLineStmtOffsets() 861 for (const auto &CU : DCtx.compile_units()) { in verifyDebugLineRows() 1040 auto Die = DCtx.getDIEForOffset(Offset); in verifyAppleAccelTable() 1080 CUMap.reserve(DCtx.getNumCompileUnits()); in verifyDebugNamesCULists() 1081 for (const auto &CU : DCtx.compile_units()) in verifyDebugNamesCULists() 1539 if (isVariableIndexable(Die, DCtx)) in verifyNameIndexCompleteness() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DirectIvarAssignment.cpp | 65 LocationOrAnalysisDeclContext DCtx; member in __anon78efd2040111::DirectIvarAssignment::MethodCrawler 72 Checker(Checker), DCtx(InDCtx) {} in MethodCrawler() 141 AnalysisDeclContext *DCtx = Mgr.getAnalysisDeclContext(M); in checkASTDecl() local 152 DCtx); in checkASTDecl() 204 PathDiagnosticLocation(IvarRef, BR.getSourceManager(), DCtx)); in VisitBinaryOperator()
|
| H A D | LocalizationChecker.cpp | 1044 LocationOrAnalysisDeclContext DCtx; member in __anone46e5a7c0511::EmptyLocalizationContextChecker::MethodCrawler 1050 : MD(InMD), BR(InBR), Mgr(InMgr), Checker(Checker), DCtx(InDCtx) {} in MethodCrawler() 1077 AnalysisDeclContext *DCtx = Mgr.getAnalysisDeclContext(M); in checkASTDecl() local 1085 MethodCrawler MC(M->getCanonicalDecl(), BR, this, Mgr, DCtx); in checkASTDecl() 1192 PathDiagnosticLocation(ME, BR.getSourceManager(), DCtx)); in reportEmptyContextError()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | IdentifierResolver.cpp | 140 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope() local 141 return AllowInlineNamespace ? Ctx->InEnclosingNamespaceSetOf(DCtx) in isDeclInScope() 142 : Ctx->Equals(DCtx); in isDeclInScope()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFVerifier.h | 82 DWARFContext &DCtx; variable
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1636 void DeclContext::buildLookupImpl(DeclContext *DCtx, bool Internal) { in buildLookupImpl() argument 1637 for (auto *D : DCtx->noload_decls()) { in buildLookupImpl() 1647 if (ND->getDeclContext() == DCtx && !shouldBeHidden(ND) && in buildLookupImpl()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclBase.h | 2578 void buildLookupImpl(DeclContext *DCtx, bool Internal);
|