[compiler-rt] r226825 - [sanitizer] Fix windows build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Jan 22 05:47:12 PST 2015
Author: eugenis
Date: Thu Jan 22 07:47:12 2015
New Revision: 226825
URL: http://llvm.org/viewvc/llvm-project?rev=226825&view=rev
Log:
[sanitizer] Fix windows build.
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=226825&r1=226824&r2=226825&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Thu Jan 22 07:47:12 2015
@@ -528,7 +528,7 @@ void GetThreadStackAndTls(bool main, upt
}
#if !SANITIZER_GO
-void BufferedStackTrace::SlowUnwindStack(uptr pc, uptr max_depth) {
+void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) {
CHECK_GE(max_depth, 2);
// FIXME: CaptureStackBackTrace might be too slow for us.
// FIXME: Compare with StackWalk64.
@@ -544,7 +544,7 @@ void BufferedStackTrace::SlowUnwindStack
}
void BufferedStackTrace::SlowUnwindStackWithContext(uptr pc, void *context,
- uptr max_depth) {
+ u32 max_depth) {
CONTEXT ctx = *(CONTEXT *)context;
STACKFRAME64 stack_frame;
memset(&stack_frame, 0, sizeof(stack_frame));
More information about the llvm-commits
mailing list