[Lldb-commits] [lldb] [lldb] Prefer readers with detailed debug information (PR #218030)

satyanarayana reddy janga via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 26 11:49:23 PDT 2026


================
@@ -739,6 +739,11 @@ TEST_F(SymtabTest, TestSymbolFileCreatedOnDemand) {
   // And we should be able to get it again once it has been created.
   Symtab *cached_module_symtab = module_sp->GetSymtab(/*can_create=*/false);
   ASSERT_EQ(module_symtab, cached_module_symtab);
+
+  SymbolFile *symbol_file = module_sp->GetSymbolFile();
+  ASSERT_NE(symbol_file, nullptr);
+  EXPECT_EQ(symbol_file->GetAbilities(),
----------------
satyajanga wrote:

Thanks for calling out. added the global_data for the test input and validated that we would still only get Symbols.

https://github.com/llvm/llvm-project/pull/218030


More information about the lldb-commits mailing list