[PATCH] D43021: Recognize all NetBSD architectures in UBSan
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 11:19:00 PST 2018
vitalybuka added inline comments.
================
Comment at: lib/ubsan/ubsan_platform.h:16
// Other platforms should be easy to add, and probably work as-is.
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || \
----------------
Why did you remove CPU check?
How can we be sure that e.g. Linux on any CPU is going to work?
Repository:
rL LLVM
https://reviews.llvm.org/D43021
More information about the llvm-commits
mailing list