diff options
| author | Stella Stamenova <stilis@microsoft.com> | 2022-01-12 08:53:19 -0800 |
|---|---|---|
| committer | Stella Stamenova <stilis@microsoft.com> | 2022-01-12 08:53:19 -0800 |
| commit | 10bc3362a1a8a3df2660bf65db0ec1ccab646e1b (patch) | |
| tree | cea264281b7b9a390a9ab9a598b3234c69dbc5de /lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp | |
| parent | c8c5dc766b259a64daf8e43045bed4e01455078c (diff) | |
| download | llvm-10bc3362a1a8a3df2660bf65db0ec1ccab646e1b.tar.gz llvm-10bc3362a1a8a3df2660bf65db0ec1ccab646e1b.tar.bz2 llvm-10bc3362a1a8a3df2660bf65db0ec1ccab646e1b.zip | |
Revert "[LLDB][NativePDB] Add support for inlined functions"
This reverts commit 945aa520ef07a3edb655f3f38e4c3023658dd623.
This commit broke the windows lldb bot.
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp index d8f737612c25..9f09c0accc87 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp +++ b/lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp @@ -106,24 +106,6 @@ static void ParseExtendedInfo(PdbIndex &index, CompilandIndexItem &item) { } } -static void ParseInlineeLineTableForCompileUnit(CompilandIndexItem &item) { - for (const auto &ss : item.m_debug_stream.getSubsectionsArray()) { - if (ss.kind() != DebugSubsectionKind::InlineeLines) - continue; - - DebugInlineeLinesSubsectionRef inlinee_lines; - llvm::BinaryStreamReader reader(ss.getRecordData()); - if (llvm::Error error = inlinee_lines.initialize(reader)) { - consumeError(std::move(error)); - continue; - } - - for (const InlineeSourceLine &Line : inlinee_lines) { - item.m_inline_map[Line.Header->Inlinee] = Line; - } - } -} - CompilandIndexItem::CompilandIndexItem( PdbCompilandId id, llvm::pdb::ModuleDebugStreamRef debug_stream, llvm::pdb::DbiModuleDescriptor descriptor) @@ -160,7 +142,6 @@ CompilandIndexItem &CompileUnitIndex::GetOrCreateCompiland(uint16_t modi) { cci = std::make_unique<CompilandIndexItem>( PdbCompilandId{modi}, std::move(debug_stream), std::move(descriptor)); ParseExtendedInfo(m_index, *cci); - ParseInlineeLineTableForCompileUnit(*cci); cci->m_strings.initialize(debug_stream.getSubsectionsArray()); PDBStringTable &strings = cantFail(m_index.pdb().getStringTable()); |
