OpenBSD UBsan support / ubsan part
Summary: UBsan, enable OpenBSD platform
Patch by: David CARLIER
Reviewers: krytarowski, kettenis, visa, vitalybuka
Subscribers: kubamracek, fedor.sergeev, llvm-commits, #sanitizers
// Other platforms should be easy to add, and probably work as-is.
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \
- defined(__NetBSD__) || (defined(__sun__) && defined(__svr4__)) || \
+ defined(__NetBSD__) || defined(__OpenBSD__) || \
+ (defined(__sun__) && defined(__svr4__)) || \
defined(_WIN32) || defined(__Fuchsia__)
# define CAN_SANITIZE_UB 1
#else
