[Lldb-commits] [lldb] [lldb] Emit diagnostics as "important" output (PR #137280)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 04:41:33 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")
----------------
da-viper wrote:

I don't think may work on other platforms. Maybe we could test using a breakpoint that doesn't exist 

`breakpoint set --file={filename} --line={line] --comand "not_an_existing_command" `

https://github.com/llvm/llvm-project/pull/137280


More information about the lldb-commits mailing list