[Lldb-commits] [PATCH] D152866: [lldb] Print lldbassert to debugger diagnostics

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 13 16:22:01 PDT 2023

JDevlieghere added a comment.

In D152866#4419406 <https://reviews.llvm.org/D152866#4419406>, @bulbazord wrote:

> I like this idea quite a bit! I assume that when somebody hits a bug, they can give us their diagnostics file and we will hopefully see the assertion somewhere (if there was one)?

Unfortunate naming, but these are different diagnostics: these are errors and warnings that are emitted as events. What you're thinking of is the Diagnostic class.

- I should really rename one of them to avoid confusion.
- We could totally combine the two and emit a file with the lldbassert in the "diagnostics dir" that we generate on crash. I'll tackle that in a follow-up commit.



More information about the lldb-commits mailing list