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

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 13 16:24:02 PDT 2023


bulbazord accepted this revision.
bulbazord added a comment.
This revision is now accepted and ready to land.

In D152866#4419413 <https://reviews.llvm.org/D152866#4419413>, @JDevlieghere wrote:

> 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.

Oh I see. Yeah, the fact that we have multiple things named `Diagnostics` is confusing. :( Unfortunate but still better than nothing. Let's definitely figure out a resolution as a follow-up.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152866/new/

https://reviews.llvm.org/D152866



More information about the lldb-commits mailing list