[Lldb-commits] [lldb] [lldb][windows] print stop reason if MSVC's runtime check fails (PR #185473)

via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 10:48:02 PDT 2026


================
@@ -0,0 +1,16 @@
+// clang-format off
+
+// Test that lldb prints MSVC's runtime checks exceptions as stop reasons.
+
+// REQUIRES: msvc
+
+// RUN: %msvc_cl /nologo /Od /Zi /MDd /RTC1 -o %t.exe %s
----------------
jimingham wrote:

You are not obliged to call `build` in an API test.  If you know your test is Windows only, you are perfectly free to do something other than call `build` to produce the binary you are going to debug, including shell out to MSVC.  You just need to make sure you tell MSVC to put everything in the right place.


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


More information about the lldb-commits mailing list