[compiler-rt] r194195 - [Sanitizer] Presumable fix stack trace unwinding on Windows
Alexey Samsonov
samsonov at google.com
Wed Nov 6 22:53:41 PST 2013
Author: samsonov
Date: Thu Nov 7 00:53:41 2013
New Revision: 194195
URL: http://llvm.org/viewvc/llvm-project?rev=194195&view=rev
Log:
[Sanitizer] Presumable fix stack trace unwinding on Windows
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc?rev=194195&r1=194194&r2=194195&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Thu Nov 7 00:53:41 2013
@@ -382,7 +382,7 @@ void StackTrace::SlowUnwindStack(uptr pc
// FIXME: CaptureStackBackTrace might be too slow for us.
// FIXME: Compare with StackWalk64.
// FIXME: Look at LLVMUnhandledExceptionFilter in Signals.inc
- uptr cs_ret = CaptureStackBackTrace(1, max_depth, tmp, 0);
+ uptr cs_ret = CaptureStackBackTrace(2, max_depth, tmp, 0);
uptr offset = 0;
// Skip the RTL frames by searching for the PC in the stacktrace.
// FIXME: this doesn't work well for the malloc/free stacks yet.
More information about the llvm-commits
mailing list