[Lldb-commits] [lldb] r345374 - [PDB] Fix `SymbolFilePDBTests` after r345313
Aleksandr Urakov via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 26 02:36:26 PDT 2018
Author: aleksandr.urakov
Date: Fri Oct 26 02:36:26 2018
New Revision: 345374
URL: http://llvm.org/viewvc/llvm-project?rev=345374&view=rev
Log:
[PDB] Fix `SymbolFilePDBTests` after r345313
Differential Revision: https://reviews.llvm.org/D53749
Modified:
lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Modified: lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp?rev=345374&r1=345373&r2=345374&view=diff
==============================================================================
--- lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp (original)
+++ lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp Fri Oct 26 02:36:26 2018
@@ -270,7 +270,8 @@ TEST_F(SymbolFilePDBTests, TestLineTable
EXPECT_EQ(2u, cus);
SymbolContextList sc_list;
- uint32_t scope = lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
+ lldb::SymbolContextItem scope =
+ lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
uint32_t count =
symfile->ResolveSymbolContext(source_file, 0, true, scope, sc_list);
@@ -319,7 +320,8 @@ TEST_F(SymbolFilePDBTests, TestLineTable
EXPECT_EQ(2u, cus);
SymbolContextList sc_list;
- uint32_t scope = lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
+ lldb::SymbolContextItem scope =
+ lldb::eSymbolContextCompUnit | lldb::eSymbolContextLineEntry;
// First test with line 7, and verify that only line 7 entries are added.
uint32_t count =
More information about the lldb-commits
mailing list