[PATCH] [Windows] Implementing backtracing of self
zturner at google.com
Wed Mar 4 22:06:33 PST 2015
I found a problem with my initial implementation. MSDN says that on x64, a full CONTEXT structure is required. So this patch was broken for x64. Luckily I learned of a new function which I was previously unaware of, RtlCaptureContext(). It captures a context for the current thread which is exactly what we need. This patch is updated to reflect these changes, and we now no longer require setjmp.
Will commit this tomorrow.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7826 bytes
Desc: not available
More information about the llvm-commits