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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to