Emit diagnostic events (errors and warnings) in the diagnostic dump. This patch also adds an "information" diagnostic event, which doesn't get broadcast, but ends up in the diagnostics as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
(Unsurprisingly, I guess), this looks much better to me. And I'm totally open to automatically logging these diagnostics somewhere as well (to a dedicated log channel/category, or by passing the log as an argument, or something else).
lldb/source/Utility/Diagnostics.cpp | ||
---|---|---|
94 | Maybe call this DumpDiangosticsLog ? |
lldb/include/lldb/Core/Debugger.h | ||
---|---|---|
431 | This comment seems wrong? The code below asserts and returns in PrivateReportDiagnostic(). Do we want to add a eBroadcastBitInfo? |
This comment seems wrong? The code below asserts and returns in PrivateReportDiagnostic(). Do we want to add a eBroadcastBitInfo?