[Lldb-commits] [lldb] [llvm] [lldb] Make missing DWO diagnostics customizable (PR #212338)

David Young via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 30 04:19:25 PDT 2026


================
@@ -79,6 +79,11 @@ set(LLDB_GLOBAL_INIT_DIRECTORY "" CACHE STRING
   "Path to the global lldbinit directory. Relative paths are resolved relative to the
   directory containing the LLDB library.")
 
+set(LLDB_DWO_DIAGNOSTIC_SUFFIX "Debugging will be degraded." CACHE STRING
+  "Text appended to diagnostics when LLDB cannot locate DWO debug information files. Clients can
+  customize this message with a URL or additional information to help users know how to fix or
+  troubleshoot the issue.")
+
----------------
youngd007 wrote:

@keith we'd need to follow up this PR with a change to build.bazel, right?  Not sure if it goes into 
https://github.com/llvm/llvm-project/blob/0af5e8419f4bb6c830f3e2ec4b640830ea63a8b0/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
https://github.com/llvm/llvm-project/blob/0af5e8419f4bb6c830f3e2ec4b640830ea63a8b0/utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/llvm-config.h
or bazel.build itself?
https://github.com/llvm/llvm-project/blob/0af5e8419f4bb6c830f3e2ec4b640830ea63a8b0/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel#L163

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


More information about the lldb-commits mailing list