Skip to content

Commit da169c4

Browse files
author
Aleksandr Urakov
committedOct 26, 2018
[PDB] Fix SymbolFilePDBTests after r345313
Differential Revision: https://reviews.llvm.org/D53749 llvm-svn: 345374
1 parent 9f72795 commit da169c4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ TEST_F(SymbolFilePDBTests, TestLineTablesMatchAll) {
270270
EXPECT_EQ(2u, cus);
271271

272272
SymbolContextList sc_list;
273-
uint32_t scope = lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
273+
lldb::SymbolContextItem scope =
274+
lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
274275

275276
uint32_t count =
276277
symfile->ResolveSymbolContext(source_file, 0, true, scope, sc_list);
@@ -319,7 +320,8 @@ TEST_F(SymbolFilePDBTests, TestLineTablesMatchSpecific) {
319320
EXPECT_EQ(2u, cus);
320321

321322
SymbolContextList sc_list;
322-
uint32_t scope = lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
323+
lldb::SymbolContextItem scope =
324+
lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
323325

324326
// First test with line 7, and verify that only line 7 entries are added.
325327
uint32_t count =

0 commit comments

Comments
 (0)
Please sign in to comment.