[llvm-commits] [compiler-rt] r147796 - in /compiler-rt/trunk/lib/asan: asan_interceptors.cc asan_stack.cc
Kostya Serebryany
kcc at google.com
Mon Jan 9 11:50:07 PST 2012
Author: kcc
Date: Mon Jan 9 13:50:06 2012
New Revision: 147796
URL: http://llvm.org/viewvc/llvm-project?rev=147796&view=rev
Log:
[asan] fix mac build once more
Modified:
compiler-rt/trunk/lib/asan/asan_interceptors.cc
compiler-rt/trunk/lib/asan/asan_stack.cc
Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cc?rev=147796&r1=147795&r2=147796&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cc Mon Jan 9 13:50:06 2012
@@ -225,6 +225,9 @@
}
extern "C"
+extern int (sigaction)(int signum, const void *act, void *oldact);
+
+extern "C"
int WRAP(sigaction)(int signum, const void *act, void *oldact) {
if (!AsanInterceptsSignal(signum)) {
return real_sigaction(signum, act, oldact);
Modified: compiler-rt/trunk/lib/asan/asan_stack.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_stack.cc?rev=147796&r1=147795&r2=147796&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_stack.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_stack.cc Mon Jan 9 13:50:06 2012
@@ -18,8 +18,6 @@
#include "asan_thread.h"
#include "asan_thread_registry.h"
-#include <string.h>
-
#if ASAN_USE_SYSINFO == 1
#include "sysinfo/sysinfo.h"
#endif
More information about the llvm-commits
mailing list