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/SymbolFileNativePDB.h | |
| 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/SymbolFileNativePDB.h')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h index f1b6e34ca346..56a5ec0a464d 100644 --- a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h +++ b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h @@ -9,7 +9,6 @@ #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_SYMBOLFILENATIVEPDB_H #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_NATIVEPDB_SYMBOLFILENATIVEPDB_H -#include "lldb/Symbol/LineTable.h" #include "lldb/Symbol/SymbolFile.h" #include "llvm/ADT/DenseMap.h" @@ -162,25 +161,6 @@ public: void DumpClangAST(Stream &s) override; private: - struct LineTableEntryComparator { - bool operator()(const lldb_private::LineTable::Entry &lhs, - const lldb_private::LineTable::Entry &rhs) const { - return lhs.file_addr < rhs.file_addr; - } - }; - - // From address range relative to function base to source line number. - using RangeSourceLineVector = - lldb_private::RangeDataVector<uint32_t, uint32_t, int32_t>; - // InlineSite contains information in a S_INLINESITE record. - struct InlineSite { - PdbCompilandSymId parent_id; - std::shared_ptr<InlineFunctionInfo> inline_function_info; - RangeSourceLineVector ranges; - std::vector<lldb_private::LineTable::Entry> line_entries; - InlineSite(PdbCompilandSymId parent_id) : parent_id(parent_id){}; - }; - uint32_t CalculateNumCompileUnits() override; lldb::CompUnitSP ParseCompileUnitAtIndex(uint32_t index) override; @@ -245,16 +225,6 @@ private: VariableList &variables); size_t ParseVariablesForBlock(PdbCompilandSymId block_id); - llvm::Expected<uint32_t> GetFileIndex(const CompilandIndexItem &cii, - uint32_t file_id); - - size_t ParseSymbolArrayInScope( - PdbCompilandSymId parent, - llvm::function_ref<bool(llvm::codeview::SymbolKind, PdbCompilandSymId)> - fn); - - void ParseInlineSite(PdbCompilandSymId inline_site_id, Address func_addr); - llvm::BumpPtrAllocator m_allocator; lldb::addr_t m_obj_load_address = 0; @@ -271,9 +241,6 @@ private: llvm::DenseMap<lldb::user_id_t, lldb::FunctionSP> m_functions; llvm::DenseMap<lldb::user_id_t, lldb::CompUnitSP> m_compilands; llvm::DenseMap<lldb::user_id_t, lldb::TypeSP> m_types; - llvm::DenseMap<lldb::user_id_t, std::shared_ptr<InlineSite>> m_inline_sites; - // A map from file id in records to file index in support files. - llvm::DenseMap<uint32_t, uint32_t> m_file_indexes; }; } // namespace npdb |
