summaryrefslogtreecommitdiffstats
path: root/lib/System/Win32/Signals.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Win32/Signals.inc')
-rw-r--r--lib/System/Win32/Signals.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/System/Win32/Signals.inc b/lib/System/Win32/Signals.inc
index 7da0c75..399717a 100644
--- a/lib/System/Win32/Signals.inc
+++ b/lib/System/Win32/Signals.inc
@@ -177,7 +177,11 @@ static void Cleanup() {
static LONG WINAPI LLVMUnhandledExceptionFilter(LPEXCEPTION_POINTERS ep) {
try {
Cleanup();
-
+
+#ifdef _WIN64
+ // TODO: provide a x64 friendly version of the following
+#else
+
// Initialize the STACKFRAME structure.
STACKFRAME StackFrame;
memset(&StackFrame, 0, sizeof(StackFrame));
@@ -251,6 +255,9 @@ static LONG WINAPI LLVMUnhandledExceptionFilter(LPEXCEPTION_POINTERS ep) {
fputc('\n', stderr);
}
+
+#endif
+
} catch (...) {
assert(!"Crashed in LLVMUnhandledExceptionFilter");
}