Home
last modified time | relevance | path

Searched full:modi (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleList.cpp24 const DbiModuleList &Modules, uint32_t Modi, uint16_t Filei) in DbiModuleSourceFilesIterator() argument
25 : Modules(&Modules), Modi(Modi), Filei(Filei) { in DbiModuleSourceFilesIterator()
50 assert(Modi == R.Modi); in operator ==()
87 uint32_t RealModi = R.Modi; in operator -()
100 assert(Filei <= Modules->getSourceFileCount(Modi)); in operator +=()
123 uint32_t Off = Modules->ModuleInitialFileIndex[Modi] + Filei; in setValue()
127 Filei = Modules->getSourceFileCount(Modi); in setValue()
137 assert(Modi <= Modules->getModuleCount()); in isEnd()
138 assert(Filei <= Modules->getSourceFileCount(Modi)); in isEnd()
140 if (Modi == Modules->getModuleCount()) in isEnd()
[all …]
H A DSymbolCache.cpp302 uint16_t Modi, in getOrCreateInlineSymbol() argument
304 auto Iter = SymTabOffsetToSymbolId.find({Modi, RecordOffset}); in getOrCreateInlineSymbol()
309 SymTabOffsetToSymbolId.insert({{Modi, RecordOffset}, Id}); in getOrCreateInlineSymbol()
322 uint16_t Modi; in findSymbolBySectOffset() local
323 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findSymbolBySectOffset()
325 return getOrCreateCompiland(Modi); in findSymbolBySectOffset()
348 uint16_t Modi; in findFunctionSymbolBySectOffset() local
349 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findFunctionSymbolBySectOffset()
353 Session.getModuleDebugStream(Modi); in findFunctionSymbolBySectOffset()
452 SymbolCache::findLineTable(uint16_t Modi) const { in findLineTable()
[all …]
H A DInputFile.cpp50 auto Modi = Modules.getModuleDescriptor(Index); in getModuleDebugStream() local
52 ModuleName = Modi.getModuleName(); in getModuleDebugStream()
54 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream()
61 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream()
76 auto Modi = Modules.getModuleDescriptor(Index); in getModuleDebugStream() local
78 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream()
85 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream()
190 void SymbolGroup::updatePdbModi(uint32_t Modi) { initializeForPdb(Modi); } in updatePdbModi() argument
192 void SymbolGroup::initializeForPdb(uint32_t Modi) { in initializeForPdb() argument
[all...]
H A DNativeFunctionSymbol.cpp98 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 DNativeInlineSiteSymbol.cpp189 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 DNativeSession.cpp456 DbiModuleDescriptor Modi = Dbi->modules().getModuleDescriptor(Index); in getModuleDebugStream() local
458 uint16_t ModiStream = Modi.getModuleStreamIndex(); in getModuleDebugStream()
465 ModuleDebugStreamRef ModS(Modi, std::move(ModStreamData)); in getModuleDebugStream()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbSymUid.cpp23 uint64_t modi : 16; member
29 uint64_t modi : 16; member
71 repr.modi = cid.modi; in PdbSymUid()
79 repr.modi = csid.modi; in PdbSymUid()
121 result.modi = repr.modi; in asCompiland()
129 result.modi = repr.modi; in asCompilandSym()
H A DCompileUnitIndex.cpp133 CompilandIndexItem &CompileUnitIndex::GetOrCreateCompiland(uint16_t modi) { in GetOrCreateCompiland() argument
134 auto result = m_comp_units.try_emplace(modi, nullptr); in GetOrCreateCompiland()
141 llvm::pdb::DbiModuleDescriptor descriptor = modules.getModuleDescriptor(modi); in GetOrCreateCompiland()
151 …cci = std::make_unique<CompilandIndexItem>(PdbCompilandId{ modi }, debug_stream, std::move(descrip… in GetOrCreateCompiland()
161 PdbCompilandId{modi}, std::move(debug_stream), std::move(descriptor)); in GetOrCreateCompiland()
182 uint32_t file_count = modules.getSourceFileCount(modi); in GetOrCreateCompiland()
185 for (llvm::StringRef file : modules.source_files(modi)) { in GetOrCreateCompiland()
197 const CompilandIndexItem *CompileUnitIndex::GetCompiland(uint16_t modi) const { in GetCompiland()
198 auto iter = m_comp_units.find(modi); in GetCompiland()
204 CompilandIndexItem *CompileUnitIndex::GetCompiland(uint16_t modi) { in GetCompiland() argument
[all …]
H A DPdbIndex.cpp119 uint16_t modi = cci.m_id.modi; in BuildAddrToSymbolMap() local
130 PdbCompilandSymId cu_sym_id(modi, iter.offset()); in BuildAddrToSymbolMap()
141 std::optional<uint16_t> modi = GetModuleIndexForVa(va); in FindSymbolsByVa() local
142 if (!modi) in FindSymbolsByVa()
145 CompilandIndexItem &cci = compilands().GetOrCreateCompiland(*modi); in FindSymbolsByVa()
188 const CompilandIndexItem *cci = compilands().GetCompiland(cu_sym.modi); in ReadSymbolRecord()
H A DPdbSymUid.h41 uint16_t modi; member
46 PdbCompilandSymId(uint16_t modi, uint32_t offset) in PdbCompilandSymId()
47 : modi(modi), offset(offset) {} in PdbCompilandSymId()
49 uint16_t modi = 0; member
H A DSymbolFileNativePDB.cpp383 CompilandIndexItem *cii = m_index->compilands().GetCompiland(block_id.modi); in CreateBlock()
411 PdbCompilandSymId parent_id(block_id.modi, block.Parent); in CreateBlock()
425 "S_BLOCK32 at modi: {0:d} offset: {1:d}: adding range " in CreateBlock()
430 block_id.modi, block_id.offset, block_base, in CreateBlock()
474 m_index->compilands().GetCompiland(func_id.modi); in CreateFunction()
537 SetCompileUnitAtIndex(cci.m_id.modi, cu_sp); in CreateCompileUnit()
887 std::optional<uint16_t> modi = m_index->GetModuleIndexForVa(addr); in CreateGlobalVariable() local
888 // Some globals has modi points to the linker module, ignore them. in CreateGlobalVariable()
889 if (!modi || modi >= GetNumCompileUnits()) in CreateGlobalVariable()
892 CompilandIndexItem &cci = m_index->compilands().GetOrCreateCompiland(*modi); in CreateGlobalVariable()
[all …]
H A DCompileUnitIndex.h97 CompilandIndexItem &GetOrCreateCompiland(uint16_t modi);
99 const CompilandIndexItem *GetCompiland(uint16_t modi) const;
101 CompilandIndexItem *GetCompiland(uint16_t modi);
H A DPdbAstBuilder.cpp405 PdbCompilandSymId cu_sym_id{ref.modi(), ref.SymOffset}; in GetParentDeclContext()
928 index.compilands().GetCompiland(inlinesite_id.modi); in GetOrCreateInlinedFunctionDecl()
1074 CompilandIndexItem *cii = index.compilands().GetCompiland(func_id.modi); in CreateFunctionParameters()
1123 PdbCompilandSymId param_uid(func_id.modi, record_offset); in CreateFunctionParameters()
1301 for (uint16_t modi = 0; modi < module_count; ++modi) { in ParseAllFunctionsAndNonLocalVars() local
1302 CompilandIndexItem &cii = index.compilands().GetOrCreateCompiland(modi); in ParseAllFunctionsAndNonLocalVars()
1306 PdbCompilandSymId sym_id{modi, iter.offset()}; in ParseAllFunctionsAndNonLocalVars()
1318 GetOrCreateVariableDecl(PdbCompilandSymId(modi, 0), sym_id); in ParseAllFunctionsAndNonLocalVars()
1364 index.compilands().GetOrCreateCompiland(block_id.modi); in ParseBlockChildren()
1377 PdbCompilandSymId child_sym_id(block_id.modi, begin.offset()); in ParseBlockChildren()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInputFile.h119 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 DDbiModuleList.h39 uint32_t Modi, uint16_t Filei);
65 uint32_t Modi{0};
78 LLVM_ABI uint16_t getSourceFileCount(uint32_t Modi) const;
81 source_files(uint32_t Modi) const;
83 LLVM_ABI DbiModuleDescriptor getModuleDescriptor(uint32_t Modi) const;
H A DSymbolCache.h90 std::vector<LineTableEntry> findLineTable(uint16_t Modi) const;
175 uint16_t Modi,
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DStreamUtil.cpp41 uint32_t StreamIndex, uint32_t Modi) { in createModuleStream()
45 Result.ModuleIndex = Modi; in createModuleStream()
56 uint32_t Modi) { in moduleStream()
57 return StreamInfo::createModuleStream(Label, StreamIdx, Modi); in moduleStream() argument
61 uint32_t Modi;
82 IMD.Modi = I; in discoverStreamPurposes()
174 ModIter->second.Modi); in discoverStreamPurposes()
42 createModuleStream(StringRef Module,uint32_t StreamIndex,uint32_t Modi) createModuleStream() argument
62 uint32_t Modi; global() member
H A DBytesOutputStyle.cpp333 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 DDumpOutputStyle.cpp486 [&](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModules() argument
487 auto Desc = Modules.getModuleDescriptor(Modi); in dumpModules()
532 [this](uint32_t Modi, const SymbolGroup &Strings) -> Error { in dumpModuleFiles() argument
539 for (const auto &F : Modules.source_files(Modi)) { in dumpModuleFiles()
559 File, Scope, [&](uint32_t Modi, const SymbolGroup &SG) -> Error { in dumpSymbolStats() argument
569 DbiModuleDescriptor Desc = Modules.getModuleDescriptor(Modi); in dumpSymbolStats()
575 fmt_align(Modi, AlignStyle::Right, NumDigits(ModCount)), in dumpSymbolStats()
851 &LastNameIndex](uint32_t Modi, const SymbolGroup &Strings, in dumpLines()
857 if (LastModi != Modi || LastNameIndex != Block.NameIndex) { in dumpLines()
858 LastModi = Modi; in dumpLines()
[all …]
H A DYAMLOutputStyle.cpp274 DMI.Modi.emplace(); in dumpDbiStream()
276 DMI.Modi->Signature = ModS.signature(); in dumpDbiStream()
283 DMI.Modi->Symbols.push_back(*ES); in dumpDbiStream()
H A DStreamUtil.h49 uint32_t Modi);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h210 LVScope *getScopeForModule(uint32_t Modi) {
211 return Modi >= Modules.size() ? nullptr : Modules[Modi];
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp956 auto VisitInlineeLines = [&](int32_t Modi, const SymbolGroup &SG, in createScopes()
1025 auto VisitSymbolGroup = [&](uint32_t Modi, const SymbolGroup &SG) -> Error { in createScopes() argument
1027 getModuleDebugStream(Pdb, Modi); in createScopes()
1032 W.getOStream() << formatv("Traversing Group: Mod {0:4}\n", Modi); in createScopes()
1069 auto VisitDebugLines = [this](int32_t Modi, const SymbolGroup &SG, in createScopes()
1078 LLVM_DEBUG({ W.getOStream() << formatv("Modi = {0}\n", Modi); }); in createScopes()
1083 if (CurrentModule != Modi) { in createScopes()
1087 CurrentModule = Modi; in createScopes()
/freebsd/usr.bin/clang/llvm-pdbutil/
H A Dllvm-pdbutil.1448 .B \-modi=<uint>
654 .B \-modi
655 Dump the modi substream of the DBI stream.
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzstd_test_data.txt1 …ia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut…

12