[PATCH] D44036: OpenBSD UBsan support common functions

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 3 04:59:37 PST 2018


krytarowski added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:67
 #include <sys/types.h>
+#if !SANITIZER_OPENBSD
 #include <ucontext.h>
----------------
This ucontext OR futex looks unclear to me - are they somehow related? I would split this to two checks.

I can easily imagine systems without ucontext and without futexes (AIX?).


https://reviews.llvm.org/D44036





More information about the llvm-commits mailing list