[UBSan] Add missing header that defines SANITIZER_CAN_USE_PREINIT_ARRAY
authorAlexey Samsonov <vonosmas@gmail.com>
Mon, 11 May 2015 21:06:49 +0000 (21:06 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Mon, 11 May 2015 21:06:49 +0000 (21:06 +0000)
commitc200b5c6ea6abfb60006f6d952c393774c641530
tree6ed6d1bbf1952ad77d580deb5db867b1d3101d6e
parent8ed0446e97ffa0016f16fc4515963c3454bd5ca3
[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
compiler-rt/lib/ubsan/ubsan_init_standalone.cc