[llvm-commits] [compiler-rt] r170119 - in /compiler-rt/trunk/lib/asan: asan_mac.cc asan_win.cc
Kostya Serebryany
kcc at google.com
Thu Dec 13 02:03:50 PST 2012
Author: kcc
Date: Thu Dec 13 04:03:50 2012
New Revision: 170119
URL: http://llvm.org/viewvc/llvm-project?rev=170119&view=rev
Log:
[asan] fix win build
Modified:
compiler-rt/trunk/lib/asan/asan_mac.cc
compiler-rt/trunk/lib/asan/asan_win.cc
Modified: compiler-rt/trunk/lib/asan/asan_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_mac.cc?rev=170119&r1=170118&r2=170119&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_mac.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_mac.cc Thu Dec 13 04:03:50 2012
@@ -161,6 +161,7 @@
}
void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp, bool fast) {
+ (void)fast;
stack->size = 0;
stack->trace[0] = pc;
if ((max_s) > 1) {
Modified: compiler-rt/trunk/lib/asan/asan_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win.cc?rev=170119&r1=170118&r2=170119&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Thu Dec 13 04:03:50 2012
@@ -32,7 +32,8 @@
static bool dbghelp_initialized = false;
#pragma comment(lib, "dbghelp.lib")
-void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp) {
+void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp, bool fast) {
+ (void)fast;
stack->max_size = max_s;
void *tmp[kStackTraceMax];
More information about the llvm-commits
mailing list