[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 06:28:02 PDT 2026
================
@@ -0,0 +1,41 @@
+//===-- MSVCRTCRecognizer.h -----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_PLUGINS_PROCESS_WINDOWS_MSVCRTCFRAMERECOGNIZER_H
+#define LLDB_PLUGINS_PROCESS_WINDOWS_MSVCRTCFRAMERECOGNIZER_H
+
+#include "lldb/Target/Process.h"
+#include "lldb/Target/StackFrameRecognizer.h"
+
+namespace lldb_private {
+
+/// Registers the MSVC run-time check failure frame recognizer with the target.
+void RegisterMSVCRTCFrameRecognizer(Process &process);
----------------
Nerixyz wrote:
Could take a `ProcessWindows` to ensure that it's only ever added there, so the `static_cast` inside `RecognizeFrame` is correct. It could also store a reference to the `ProcessWindows`, I suppose.
https://github.com/llvm/llvm-project/pull/185473
More information about the lldb-commits
mailing list