[Lldb-commits] [lldb] 81bd799 - [lldb] Add missing initialization in LineEntry ctor
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 21 09:06:23 PDT 2024
Author: Jonas Devlieghere
Date: 2024-03-21T09:06:06-07:00
New Revision: 81bd799819f498a55e32599bce51fa98b2e73238
URL: https://github.com/llvm/llvm-project/commit/81bd799819f498a55e32599bce51fa98b2e73238
DIFF: https://github.com/llvm/llvm-project/commit/81bd799819f498a55e32599bce51fa98b2e73238.diff
LOG: [lldb] Add missing initialization in LineEntry ctor
Added:
Modified:
lldb/source/Symbol/LineEntry.cpp
Removed:
################################################################################
diff --git a/lldb/source/Symbol/LineEntry.cpp b/lldb/source/Symbol/LineEntry.cpp
index 9e0c06b6ff73ec..461399e0326e91 100644
--- a/lldb/source/Symbol/LineEntry.cpp
+++ b/lldb/source/Symbol/LineEntry.cpp
@@ -14,8 +14,10 @@
using namespace lldb_private;
LineEntry::LineEntry()
- : range(), is_start_of_statement(0), is_start_of_basic_block(0),
- is_prologue_end(0), is_epilogue_begin(0), is_terminal_entry(0) {}
+ : range(), file_sp(std::make_shared<SupportFile>()),
+ original_file_sp(std::make_shared<SupportFile>()),
+ is_start_of_statement(0), is_start_of_basic_block(0), is_prologue_end(0),
+ is_epilogue_begin(0), is_terminal_entry(0) {}
void LineEntry::Clear() {
range.Clear();
More information about the lldb-commits
mailing list