[Lldb-commits] [lldb] [lldb][PlatformDarwin] Reword warning when locating scripting resources from dSYM (PR #185666)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 13 01:47:15 PDT 2026


================
@@ -499,14 +491,12 @@ TEST_F(
 
   std::string orig_script =
       (m_tmp_dsym_dwarf_dir + "/../Python/TestModule-1.1 1.py").str();
-  std::string fixed_script =
-      (m_tmp_dsym_dwarf_dir + "/../Python/TestModule_1_1_1.py").str();
   std::string expected = llvm::formatv(
-      "warning: the symbol file '{0}' contains a debug script. However, its "
-      "name '{1}' contains reserved characters and as such cannot be loaded. "
-      "LLDB will load '{2}' instead. Consider removing the file with the "
-      "malformed name to eliminate this warning.\n",
-      dsym_module_fpec.GetPath(), orig_script, fixed_script);
+      "warning: debug script '{0}' cannot be loaded because 'TestModule-1.1 "
+      "1.py' contains reserved characters. Loading 'TestModule_1_1_1.py' "
+      "instead. Consider removing the file with the malformed name to "
+      "eliminate this warning.\n",
----------------
Michael137 wrote:

Reworded to something along these lines. Let me know if the latest version looks better

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


More information about the lldb-commits mailing list