forked from OSchip/llvm-project
parent
a0cbfc9d75
commit
f51b9488c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue