[PATCH] D68451: [Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 14:41:36 PDT 2019
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
================
Comment at: compiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c:11
+#if defined(__linux__)
#if __GLIBC_PREREQ(2, 25)
----------------
#if (defined(__linux__) && __GLIBC_PREREQ(2, 25)) || defined(__FreeBSD__)
#define HAS_GETRANDOM
#endif
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68451/new/
https://reviews.llvm.org/D68451
More information about the llvm-commits
mailing list