Skip to content

Commit 81bd799

Browse files
committed
[lldb] Add missing initialization in LineEntry ctor
1 parent f5c90f3 commit 81bd799

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/source/Symbol/LineEntry.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
using namespace lldb_private;
1515

1616
LineEntry::LineEntry()
17-
: range(), is_start_of_statement(0), is_start_of_basic_block(0),
18-
is_prologue_end(0), is_epilogue_begin(0), is_terminal_entry(0) {}
17+
: range(), file_sp(std::make_shared<SupportFile>()),
18+
original_file_sp(std::make_shared<SupportFile>()),
19+
is_start_of_statement(0), is_start_of_basic_block(0), is_prologue_end(0),
20+
is_epilogue_begin(0), is_terminal_entry(0) {}
1921

2022
void LineEntry::Clear() {
2123
range.Clear();

0 commit comments

Comments
 (0)