[Lldb-commits] [lldb] [lldb][Module] Make eLoadScriptFromSymFileWarn behave as a "dry-run" (PR #189943)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 01:09:11 PDT 2026


================
@@ -5387,6 +5395,34 @@ void Target::NotifyBreakpointChanged(
     BroadcastEvent(Target::eBroadcastBitBreakpointChanged, breakpoint_data_sp);
 }
 
+void Target::ReportScriptLoading(
+    const llvm::SmallVector<std::string> &warned_script_paths) {
+  if (warned_script_paths.empty())
+    return;
+
+  static std::once_flag s_warn_once;
+
+  auto &debugger = GetDebugger();
+
+  // clang-format off
+  debugger.ReportWarning(
+R"(Found executable debug scripts. To run a script in this debug session:
----------------
Michael137 wrote:

I agree. @jimingham do you have any thoughts on the wording?

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


More information about the lldb-commits mailing list