[Lldb-commits] [lldb] d914aa4 - [lldb] Fix SymbolFilePDBTests for a3939e1

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 18 02:59:45 PDT 2021


Author: Pavel Labath
Date: 2021-10-18T11:59:01+02:00
New Revision: d914aa4ead2aabda2c9e2cf343d30ba8171e4ce2

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

LOG: [lldb] Fix SymbolFilePDBTests for a3939e1

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 7c7d1902eefb9..d84980149d23e 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -153,7 +153,8 @@ TEST_F(SymbolFilePDBTests, TestAbilitiesForPDB) {
 
   SymbolFile *symfile = module->GetSymbolFile();
   EXPECT_NE(nullptr, symfile);
-  EXPECT_EQ(symfile->GetPluginName(), SymbolFilePDB::GetPluginNameStatic());
+  EXPECT_EQ(symfile->GetPluginName(),
+            SymbolFilePDB::GetPluginNameStatic().GetStringRef());
 
   uint32_t expected_abilities = SymbolFile::kAllAbilities;
   EXPECT_EQ(expected_abilities, symfile->CalculateAbilities());


        


More information about the lldb-commits mailing list