[Lldb-commits] [lldb] [lldb] Emit diagnostics as "important" output (PR #137280)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 25 09:17:01 PDT 2025
================
@@ -164,3 +164,20 @@ def test_exit_status_message_ok(self):
console_output,
"Exit status does not contain message 'exited with status'",
)
+
+ def test_diagnositcs(self):
+ program = self.getBuildArtifact("a.out")
+ self.build_and_launch(program)
+
+ core = self.getBuildArtifact("minidump.core")
----------------
JDevlieghere wrote:
This works on all platforms (you can load an Linux ELF core on macOS and vice versa). We use the same technique in `TestDiagnosticReporting`.
https://github.com/llvm/llvm-project/pull/137280
More information about the lldb-commits
mailing list