Skip to content

Commit 799bd79

Browse files
authored
Merge pull request #2922 from Teemperor/FixBuild
[lldb] Fix compilation in SymbolFileDWARF.cpp
2 parents ca47b8d + 8ce44d5 commit 799bd79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ uint32_t SymbolFileDWARF::ResolveSymbolContext(
19951995
uint32_t line_idx = line_table->FindLineEntryIndexByFileIndex(
19961996
0, file_idx, src_location_spec, &sc.line_entry);
19971997
found_line = sc.line_entry.line;
1998-
found_column - sc.line_entry.column;
1998+
found_column = sc.line_entry.column;
19991999

20002000
while (line_idx != UINT32_MAX) {
20012001
sc.function = nullptr;
@@ -2012,7 +2012,8 @@ uint32_t SymbolFileDWARF::ResolveSymbolContext(
20122012

20132013
SourceLocationSpec found_location_spec(
20142014
file_spec, found_line, found_column,
2015-
/*check_inlines=*/false, /*exact=*/true) sc_list.Append(sc);
2015+
/*check_inlines=*/false, /*exact=*/true);
2016+
sc_list.Append(sc);
20162017
line_idx = line_table->FindLineEntryIndexByFileIndex(
20172018
line_idx + 1, file_idx, found_location_spec,
20182019
&sc.line_entry);

0 commit comments

Comments
 (0)