[compiler-rt] r213997 - [DFSan] Fixup for r213980
Alexey Samsonov
vonosmas at gmail.com
Fri Jul 25 17:49:37 PDT 2014
Author: samsonov
Date: Fri Jul 25 19:49:36 2014
New Revision: 213997
URL: http://llvm.org/viewvc/llvm-project?rev=213997&view=rev
Log:
[DFSan] Fixup for r213980
Modified:
compiler-rt/trunk/lib/dfsan/dfsan.cc
Modified: compiler-rt/trunk/lib/dfsan/dfsan.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/dfsan/dfsan.cc?rev=213997&r1=213996&r2=213997&view=diff
==============================================================================
--- compiler-rt/trunk/lib/dfsan/dfsan.cc (original)
+++ compiler-rt/trunk/lib/dfsan/dfsan.cc Fri Jul 25 19:49:36 2014
@@ -269,7 +269,7 @@ static void dfsan_init(int argc, char **
InitializeInterceptors();
}
-#ifndef DFSAN_NOLIBC && SANITIZER_CAN_USE_PREINIT_ARRAY
+#if !defined(DFSAN_NOLIBC) && SANITIZER_CAN_USE_PREINIT_ARRAY
__attribute__((section(".preinit_array"), used))
static void (*dfsan_init_ptr)(int, char **, char **) = dfsan_init;
#endif
More information about the llvm-commits
mailing list