[PATCH] [Windows] Implementing backtracing of self

Reid Kleckner rnk at google.com
Wed Mar 4 16:49:46 PST 2015


lgtm

I think this is actually enough information to unwind on x64, so long as the 'Frame' field is set right.


================
Comment at: lib/Support/Windows/Signals.inc:388
@@ +387,3 @@
+
+  STACKFRAME64 StackFrame;
+  jmp_buf Buffer;
----------------
Zero StackFrame so we don't give uninitialized memory to the unwinder.

http://reviews.llvm.org/D8068

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list