summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-01 18:15:22 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-01 18:15:22 +0000
commitf3d2158616c9e5bb0909cfff73ce56e5dd0f6cad (patch)
tree523772c8c4181ae32e9c07fd6516b7531534c8c7
parenta288695968420747defe2508477862525b943a2f (diff)
downloadbcm5719-llvm-f3d2158616c9e5bb0909cfff73ce56e5dd0f6cad.tar.gz
bcm5719-llvm-f3d2158616c9e5bb0909cfff73ce56e5dd0f6cad.zip
Make another attempt at fixing SymbolFilePDBTests.
llvm-svn: 373373
-rw-r--r--lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
index e00139be031..5908bea135e 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -580,6 +580,7 @@ TEST_F(SymbolFilePDBTests, TestMaxMatches) {
uint32_t num_limited_results = results.GetSize() - num_results;
EXPECT_EQ(i, num_limited_results);
EXPECT_EQ(num_limited_results, results.GetSize());
+ num_results = num_limited_results;
}
}
OpenPOWER on IntegriCloud