llvm-project
25151270 - [lldb] Suggest 'bugreport' after errors that may be LLDB bugs (#241615)

Commit
1 hour ago
[lldb] Suggest 'bugreport' after errors that may be LLDB bugs (#241615) Errors that were likely caused by an LLDB bug ended in ad-hoc variations of "please file a bug and attach the file at the start of this error message". Report them with the new Debugger::ReportInternalError instead, which follows the error with one shared note: ``` note: if you believe this is a bug, use the 'bugreport' command ``` Each debugger shows the note once per distinct failure, deduplicated with the same ThreadSafeDenseSet that Module uses for its own diagnostics. The new diagnostics.suggest-bugreport setting turns the note off. Because the note is part of the event message, the setting also suppresses it for SB clients such as lldb-dap. Assisted-by: Claude
Author
Parents
Loading