This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB345374: [PDB] Fix `SymbolFilePDBTests` after r345313
(authored by aleksandr.urakov, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D53749?vs=171269&id=171275#toc
Repository:
rLLDB LLDB
https://reviews.llvm.org/D53749
Files:
unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Index: unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
===================================================================
--- unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -270,7 +270,8 @@
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 @@
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 =
Index: unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
===================================================================
--- unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -270,7 +270,8 @@
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 @@
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 =
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits