[PATCH] D22358: [compiler-rt]
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 08:00:58 PDT 2016
etienneb created this revision.
etienneb added a reviewer: rnk.
etienneb added subscribers: chrisha, wang0109, llvm-commits.
Herald added a subscriber: kubabrecka.
Fix missing frame with stackwalking on windows 64-bits
https://reviews.llvm.org/D22358
Files:
lib/sanitizer_common/sanitizer_win.cc
Index: lib/sanitizer_common/sanitizer_win.cc
===================================================================
--- lib/sanitizer_common/sanitizer_win.cc
+++ lib/sanitizer_common/sanitizer_win.cc
@@ -718,7 +718,7 @@
// FIXME: CaptureStackBackTrace might be too slow for us.
// FIXME: Compare with StackWalk64.
// FIXME: Look at LLVMUnhandledExceptionFilter in Signals.inc
- size = CaptureStackBackTrace(2, Min(max_depth, kStackTraceMax),
+ size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax),
(void**)trace, 0);
if (size == 0)
return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22358.63977.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160714/8833b6be/attachment.bin>
More information about the llvm-commits
mailing list