projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cbfc9
)
[DFSan] Fixup for r213980
author
Alexey Samsonov
<vonosmas@gmail.com>
Sat, 26 Jul 2014 00:49:36 +0000
(
00:49
+0000)
committer
Alexey Samsonov
<vonosmas@gmail.com>
Sat, 26 Jul 2014 00:49:36 +0000
(
00:49
+0000)
llvm-svn: 213997
compiler-rt/lib/dfsan/dfsan.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/dfsan/dfsan.cc
b/compiler-rt/lib/dfsan/dfsan.cc
index
2a66831
..
11ab77e
100644
(file)
--- a/
compiler-rt/lib/dfsan/dfsan.cc
+++ b/
compiler-rt/lib/dfsan/dfsan.cc
@@
-269,7
+269,7
@@
static void dfsan_init(int argc, char **argv, char **envp) {
InitializeInterceptors();
}
-#if
ndef 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