[Lldb-commits] [PATCH] D121511: [lldb] Report debugger diagnostics as events

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 16 07:02:08 PDT 2022


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

cool



================
Comment at: lldb/unittests/Core/DiagnosticEventTest.cpp:53-54
+TEST_F(DiagnosticEventTest, Warning) {
+  ArchSpec arch("x86_64-apple-macosx-");
+  Platform::SetHostPlatform(PlatformRemoteMacOSX::CreateInstance(true, &arch));
+
----------------
I guess you could move this into the SetUp function as well.


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

https://reviews.llvm.org/D121511



More information about the lldb-commits mailing list