[compiler-rt] 4583759 - [Sanitizers] Undefined Behavior Sanitizer support for DragonFlyBSD
David Carlier via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 17 03:09:43 PDT 2021
Author: David Carlier
Date: 2021-04-17T11:08:00+01:00
New Revision: 4583759414572046284619cb1f45eb52c866ee8a
URL: https://github.com/llvm/llvm-project/commit/4583759414572046284619cb1f45eb52c866ee8a
DIFF: https://github.com/llvm/llvm-project/commit/4583759414572046284619cb1f45eb52c866ee8a.diff
LOG: [Sanitizers] Undefined Behavior Sanitizer support for DragonFlyBSD
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D89631
Added:
Modified:
compiler-rt/lib/ubsan/ubsan_platform.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/ubsan/ubsan_platform.h b/compiler-rt/lib/ubsan/ubsan_platform.h
index 32d949d75b9c0..9d67041cda4e9 100644
--- a/compiler-rt/lib/ubsan/ubsan_platform.h
+++ b/compiler-rt/lib/ubsan/ubsan_platform.h
@@ -14,7 +14,7 @@
// Other platforms should be easy to add, and probably work as-is.
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \
- defined(__NetBSD__) || \
+ defined(__NetBSD__) || defined(__DragonFly__) \
(defined(__sun__) && defined(__svr4__)) || \
defined(_WIN32) || defined(__Fuchsia__) || defined(__rtems__)
# define CAN_SANITIZE_UB 1
More information about the llvm-commits
mailing list