[PATCH] D74765: [compiler-rt] Addd FreeBSD arm64 sanitizer support
Greg V via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 25 09:32:57 PDT 2020
myfreeweb added a comment.
With TBI enabled in the system <https://reviews.freebsd.org/D20835>, HWASAN should also work, I've had it running some time ago
================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp:1836
return fsr & FSR_WRITE ? WRITE : READ;
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) && SANITIZER_LINUX
static const u64 ESR_ELx_WNR = 1U << 6;
----------------
Sooo do we just leave this `UNKNOWN`?..
Shouldn't the system [[ https://reviews.freebsd.org/D20838 | expose it ]]?
I wonder which sanitizers actually require it…
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74765/new/
https://reviews.llvm.org/D74765
More information about the cfe-commits
mailing list