diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-11-07 06:53:41 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-11-07 06:53:41 +0000 |
| commit | 5d350b2ab6992e697a6bf143a44bfd78ca46224a (patch) | |
| tree | 945cdeb5b607819a535d46ff0af93863728c3e35 /compiler-rt/lib | |
| parent | 76b9f23f2dd30c251b2760bc38ba35824250a279 (diff) | |
| download | bcm5719-llvm-5d350b2ab6992e697a6bf143a44bfd78ca46224a.tar.gz bcm5719-llvm-5d350b2ab6992e697a6bf143a44bfd78ca46224a.zip | |
[Sanitizer] Presumable fix stack trace unwinding on Windows
llvm-svn: 194195
Diffstat (limited to 'compiler-rt/lib')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc index 8c4c9b623fb..d8a57d539f5 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc @@ -382,7 +382,7 @@ void StackTrace::SlowUnwindStack(uptr pc, uptr max_depth) { // 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. |

