[PATCH] [Windows] Implementing backtracing of self
David Majnemer
david.majnemer at gmail.com
Wed Mar 4 22:31:57 PST 2015
================
Comment at: lib/Support/Windows/Signals.inc:15
@@ -15,2 +14,3 @@
#include <algorithm>
+#include <setjmp.h>
#include <signal.h>
----------------
This is dead now, no?
================
Comment at: lib/Support/Windows/Signals.inc:387-388
@@ +386,4 @@
+
+ STACKFRAME64 StackFrame = {0};
+ CONTEXT Context = {0};
+ ::RtlCaptureContext(&Context);
----------------
You could simplify this a little bit more if you'd like with:
STACKFRAME64 StackFrame = {};
CONTEXT Context = {};
http://reviews.llvm.org/D8068
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list