Author: Med Ismail Bennani Date: 2021-05-05T00:38:41Z New Revision: d5069dace7c254a6c2c878bde465344eb6c0cf56
URL: https://github.com/llvm/llvm-project/commit/d5069dace7c254a6c2c878bde465344eb6c0cf56 DIFF: https://github.com/llvm/llvm-project/commit/d5069dace7c254a6c2c878bde465344eb6c0cf56.diff LOG: [lldb/Symbol] Fix typo in SymbolFilePDBTests (NFC) Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Added: Modified: lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp Removed: ################################################################################ diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp index f9df3ced747d..7c7d1902eefb 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)); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits