folly: #define UNDEFINED_SANITIZER in ubsan mode
Summary:
Undefined Sanitizer doesn't define any macro to detect that it's active.
The build system should provide `-DUNDEFINED_SANITIZER` when building
with -fsanitize=undefined or any of the other flags from
http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
FWIW: Chrome defines the same preprocessor symbol:
https://chromium.googlesource.com/chromium/src/+/
ac18f489dca8c902e4dfaa1a28d716b7914121d0%5E%21/build/common.gypi
Reviewed By: andrewjcg
Differential Revision:
D2885167
fb-gh-sync-id:
e1129c0863bfde5d032c32e7d5cea7c43d82009f