[DFSan] Fixup for r213980

llvm-svn: 213997
This commit is contained in:
Alexey Samsonov 2014-07-26 00:49:36 +00:00
parent a0cbfc9d75
commit f51b9488c6
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ static void dfsan_init(int argc, char **argv, char **envp) {
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