[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:
Alexey Samsonov 2015-05-11 21:06:49 +00:00
parent 8ed0446e97
commit c200b5c6ea
1 changed files with 1 additions and 0 deletions

View File

@ -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