| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiModuleList.cpp | 26 : Modules(&Modules), Modi(Modi), Filei(Filei) { in DbiModuleSourceFilesIterator() 51 assert(Modi == R.Modi); in operator ==() 88 uint32_t RealModi = R.Modi; in operator -() 128 Filei = Modules->getSourceFileCount(Modi); in setValue() 138 assert(Modi <= Modules->getModuleCount()); in isEnd() 141 if (Modi == Modules->getModuleCount()) in isEnd() 143 if (Filei == Modules->getSourceFileCount(Modi)) in isEnd() 160 return Modi == R.Modi; in isCompatible() 251 return ModFileCountArray[Modi]; in getSourceFileCount() 255 assert(Modi < getModuleCount()); in getModuleDescriptor() [all …]
|
| H A D | SymbolCache.cpp | 322 uint16_t Modi; in findSymbolBySectOffset() local 325 return getOrCreateCompiland(Modi); in findSymbolBySectOffset() 348 uint16_t Modi; in findFunctionSymbolBySectOffset() local 353 Session.getModuleDebugStream(Modi); in findFunctionSymbolBySectOffset() 448 SymbolCache::findLineTable(uint16_t Modi) const { in findLineTable() 450 auto LineTableIter = LineTable.find(Modi); in findLineTable() 459 Session.getModuleDebugStream(Modi); in findLineTable() 534 uint16_t Modi; in findLineNumbersByVA() local 535 if (!Session.moduleIndexForVA(VA, Modi)) in findLineNumbersByVA() 538 std::vector<LineTableEntry> Lines = findLineTable(Modi); in findLineNumbersByVA() [all …]
|
| H A D | InputFile.cpp | 49 auto Modi = Modules.getModuleDescriptor(Index); in getModuleDebugStream() local 51 ModuleName = Modi.getModuleName(); in getModuleDebugStream() 53 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream() 60 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream() 75 auto Modi = Modules.getModuleDescriptor(Index); in getModuleDebugStream() local 77 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream() 84 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream() 189 void SymbolGroup::updatePdbModi(uint32_t Modi) { initializeForPdb(Modi); } in updatePdbModi() argument 191 void SymbolGroup::initializeForPdb(uint32_t Modi) { in initializeForPdb() argument 205 auto MDS = getModuleDebugStream(File->pdb(), Name, Modi); in initializeForPdb()
|
| H A D | NativeFunctionSymbol.cpp | 98 uint16_t Modi; in findInlineFramesByVA() local 99 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineFramesByVA() 102 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineFramesByVA() 127 IS, getVirtualAddress(), Modi, Start.offset()); in findInlineFramesByVA()
|
| H A D | NativeInlineSiteSymbol.cpp | 189 uint16_t Modi; in findInlineeLinesByVA() local 190 if (!Session.moduleIndexForVA(VA, Modi)) in findInlineeLinesByVA() 193 Expected<ModuleDebugStreamRef> ModS = Session.getModuleDebugStream(Modi); in findInlineeLinesByVA() 230 SrcFileId, Modi); in findInlineeLinesByVA()
|
| H A D | NativeSession.cpp | 457 DbiModuleDescriptor Modi = Dbi->modules().getModuleDescriptor(Index); in getModuleDebugStream() local 459 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream() 466 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | InputFile.h | 119 void initializeForPdb(uint32_t Modi); 120 void updatePdbModi(uint32_t Modi); 167 const SymbolGroup &SG, uint32_t Modi, in iterateOneModule() argument 171 fmt_align(Modi, AlignStyle::Right, HeaderScope.LabelWidth), SG.name()); in iterateOneModule() 174 return Callback(Modi, SG); in iterateOneModule() 184 uint32_t Modi = *Filters.DumpModi; in iterateSymbolGroups() local 185 SymbolGroup SG(&Input, Modi); in iterateSymbolGroups() 186 return iterateOneModule(Input, withLabelWidth(HeaderScope, NumDigits(Modi)), in iterateSymbolGroups() 187 SG, Modi, Callback); in iterateSymbolGroups() 211 File, HeaderScope, [&](uint32_t Modi, const SymbolGroup &SG) -> Error { in iterateModuleSubsections() [all …]
|
| H A D | DbiModuleList.h | 37 DbiModuleSourceFilesIterator(const DbiModuleList &Modules, uint32_t Modi, 63 uint32_t Modi{0}; 76 uint16_t getSourceFileCount(uint32_t Modi) const; 79 source_files(uint32_t Modi) const; 81 DbiModuleDescriptor getModuleDescriptor(uint32_t Modi) const;
|
| H A D | SymbolCache.h | 89 std::vector<LineTableEntry> findLineTable(uint16_t Modi) const; 173 uint64_t ParentAddr, uint16_t Modi,
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | StreamUtil.cpp | 42 uint32_t StreamIndex, uint32_t Modi) { in createModuleStream() argument 46 Result.ModuleIndex = Modi; in createModuleStream() 57 uint32_t Modi) { in moduleStream() argument 58 return StreamInfo::createModuleStream(Label, StreamIdx, Modi); in moduleStream() 62 uint32_t Modi; member 83 IMD.Modi = I; in discoverStreamPurposes() 175 ModIter->second.Modi); in discoverStreamPurposes()
|
| H A D | BytesOutputStyle.cpp | 333 auto Modi = Modules.getModuleDescriptor(I); in iterateOneModule() local 336 Modi.getModuleName()); in iterateOneModule() 338 uint16_t ModiStream = Modi.getModuleStreamIndex(); in iterateOneModule() 344 ModuleDebugStreamRef ModStream(Modi, std::move(ModStreamData)); in iterateOneModule() 386 [this](uint32_t Modi, const ModuleDebugStreamRef &Stream, in dumpModuleSyms() 399 [this](uint32_t Modi, const ModuleDebugStreamRef &Stream, in dumpModuleC11() argument 414 [this](uint32_t Modi, const ModuleDebugStreamRef &Stream, in dumpModuleC13() argument
|
| H A D | DumpOutputStyle.cpp | 485 [&](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModules() argument 486 auto Desc = Modules.getModuleDescriptor(Modi); in dumpModules() 531 [this](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModuleFiles() argument 538 for (const auto &F : Modules.source_files(Modi)) { in dumpModuleFiles() 849 &LastNameIndex](uint32_t Modi, const SymbolGroup &Strings, in dumpLines() 856 LastModi = Modi; in dumpLines() 886 [this](uint32_t Modi, const SymbolGroup &Strings, in dumpInlineeLines() 913 [this](uint32_t Modi, const SymbolGroup &Strings, in dumpXmi() 953 [this](uint32_t Modi, const SymbolGroup &Strings, in dumpXme() 1132 [&](uint32_t Modi, const SymbolGroup &Strings, in dumpStringTableFromObj() [all …]
|
| H A D | StreamUtil.h | 49 uint32_t Modi);
|
| H A D | YAMLOutputStyle.cpp | 265 DMI.Modi.emplace(); in dumpDbiStream() 267 DMI.Modi->Signature = ModS.signature(); in dumpDbiStream() 274 DMI.Modi->Symbols.push_back(*ES); in dumpDbiStream()
|
| H A D | PdbYaml.h | 70 Optional<PdbModiStream> Modi; member
|
| H A D | PdbYaml.cpp | 188 IO.mapOptional("Modi", Obj.Modi); in mapping()
|
| H A D | llvm-pdbutil.cpp | 843 if (MI.Modi) { in yamlToPdb() 844 const auto &ModiStream = *MI.Modi; in yamlToPdb()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/ |
| H A D | unknown-symbol.yaml | 5 Modi:
|
| H A D | one-symbol.yaml | 5 Modi:
|
| /llvm-project-15.0.7/lldb/test/Shell/ObjectFile/PDB/ |
| H A D | object.test | 89 Modi: 160 Modi:
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/ |
| H A D | pdb-yaml-symbols.test | 29 YAML: Modi: 78 YAML: Modi:
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/Inputs/ |
| H A D | symbol-offset.yaml | 12 Modi:
|
| /llvm-project-15.0.7/llvm/docs/PDB/ |
| H A D | ModiStream.rst | 13 The Module Info Stream (henceforth referred to as the Modi stream) contains
|