[Lldb-commits] [lldb] 113214e - [lldb] Update SymbolFilePDBTests for LineEntry change (d5a277d309e9)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 15 17:47:09 PDT 2024


Author: Jonas Devlieghere
Date: 2024-03-15T17:47:04-07:00
New Revision: 113214e15b5ce3f3ec313eb1fa91a7038ecd072f

URL: https://github.com/llvm/llvm-project/commit/113214e15b5ce3f3ec313eb1fa91a7038ecd072f
DIFF: https://github.com/llvm/llvm-project/commit/113214e15b5ce3f3ec313eb1fa91a7038ecd072f.diff

LOG: [lldb] Update SymbolFilePDBTests for LineEntry change (d5a277d309e9)

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 f237dd63ab1cce..4379ffac9d744e 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -102,7 +102,7 @@ class SymbolFilePDBTests : public testing::Test {
     EXPECT_EQ(line, entry.line);
     EXPECT_EQ(address, entry.range.GetBaseAddress());
 
-    EXPECT_TRUE(FileSpecMatchesAsBaseOrFull(spec, entry.file));
+    EXPECT_TRUE(FileSpecMatchesAsBaseOrFull(spec, entry.GetFile()));
   }
 
   bool ContainsCompileUnit(const SymbolContextList &sc_list,


        


More information about the lldb-commits mailing list