From d5069dace7c254a6c2c878bde465344eb6c0cf56 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Wed, 5 May 2021 00:38:41 +0000 Subject: [PATCH] [lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC) Signed-off-by: Med Ismail Bennani --- lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp index f9df3ce..7c7d190 100644 --- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp +++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp @@ -340,7 +340,7 @@ TEST_F(SymbolFilePDBTests, TestLineTablesMatchSpecific) { // Then test with line 9, and verify that only line 9 entries are added. location_spec = SourceLocationSpec( source_file, /*line=*/9, /*column=*/llvm::None, /*check_inlines=*/true); - count = symfile->ResolveSymbolContext(source_file, 9, true, scope, sc_list); + count = symfile->ResolveSymbolContext(location_spec, scope, sc_list); EXPECT_EQ(1u, count); EXPECT_TRUE(sc_list.GetContextAtIndex(0, sc)); -- 2.7.4