[PATCH] D68451: [Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 01:35:12 PDT 2019


devnexen created this revision.
devnexen added reviewers: emaste, dim.
devnexen created this object with visibility "All Users".
Herald added subscribers: llvm-commits, Sanitizers, fedor.sergeev, krytarowski, srhines.
Herald added projects: LLVM, Sanitizers.

- Available from 12.x branch, by the time it lands next year in FreeBSD tree, the 11.x's might be EOL.
- Intentionally changed getrandom test to C as with 12.0 (might be fixed in current since) there is linkage issue in C++ context.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D68451

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
  compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
  compiler-rt/test/sanitizer_common/TestCases/Linux/getrandom.cpp
  compiler-rt/test/sanitizer_common/TestCases/Posix/getentropy.c
  compiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68451.223170.patch
Type: text/x-patch
Size: 3232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/e76f388a/attachment.bin>


More information about the llvm-commits mailing list