[Lldb-commits] [lldb] 4b2af36 - [LLDB][NativePDB] Minor fix on inline line table.
Zequan Wu via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 31 14:57:49 PDT 2022
Author: Zequan Wu
Date: 2022-03-31T14:57:26-07:00
New Revision: 4b2af365b6fadde9e578ca08e6de332388b2f9c2
URL: https://github.com/llvm/llvm-project/commit/4b2af365b6fadde9e578ca08e6de332388b2f9c2
DIFF: https://github.com/llvm/llvm-project/commit/4b2af365b6fadde9e578ca08e6de332388b2f9c2.diff
LOG: [LLDB][NativePDB] Minor fix on inline line table.
Added:
Modified:
lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
index 411c7d902c21e..b7e936be4aee6 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
@@ -1356,6 +1356,7 @@ void SymbolFileNativePDB::ParseInlineSite(PdbCompilandSymId id,
func_base + code_offset, decl_line + line_offset, 0, decl_file_idx,
is_start_of_statement, false, is_prologue_end, false, false);
inline_site_sp->line_entries.push_back(line_entry);
+ has_base = false;
} else {
// Add line entry in next call to change_code_offset.
is_new_line_offset = true;
More information about the lldb-commits
mailing list