forked from OSchip/llvm-project
[UBSan] Add missing header that defines SANITIZER_CAN_USE_PREINIT_ARRAY
Otherwise this compile definition was undefined, and .preinit_array was never used on the platforms that support it. llvm-svn: 237045
This commit is contained in:
parent
8ed0446e97
commit
c200b5c6ea
|
@ -16,6 +16,7 @@
|
|||
# error "UBSan is not supported on this platform!"
|
||||
#endif
|
||||
|
||||
#include "sanitizer_common/sanitizer_internal_defs.h"
|
||||
#include "ubsan_init.h"
|
||||
|
||||
#if SANITIZER_CAN_USE_PREINIT_ARRAY
|
||||
|
|
Loading…
Reference in New Issue