llvm-project/compiler-rt/lib
Dimitry Andric 003fe25b07 Fix build breakage on FreeBSD after rL289878/rL289881
Summary:
After rL289878/rL289881, the build on FreeBSD is broken, because
sanitizer_platform_limits_posix.cc attempts to include <utmp.h> and use
`struct utmp`, neither of which are supported anymore on FreeBSD.

Fix this by adding `&& !SANITIZER_FREEBSD` in a few places, and stop
intercepting utmp functions altogether for FreeBSD.

Reviewers: kubabrecka, emaste, eugenis, ed

Subscribers: ed, llvm-commits

Differential Revision: https://reviews.llvm.org/D27902

llvm-svn: 290167
2016-12-20 07:58:49 +00:00
..
BlocksRuntime
asan Add DLL thunks for new sancov APIs to fix Windows tests 2016-12-13 20:54:45 +00:00
builtins [builtin] Add Thumb1 implementation for idivsi3 and aeabi_idivmod 2016-12-07 19:14:29 +00:00
cfi [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan [esan] Fix ESan test failure on Debian Sid bot 2016-10-07 20:53:35 +00:00
interception [asan] Don't assert that a target is within 2GB on 32-bit Windows 2016-11-15 18:29:17 +00:00
lsan Return memory to OS right after free (not in the async thread). 2016-11-29 00:22:50 +00:00
msan Revert r289690 "[sanitizer] intercept bstring functions, patch by Kuang-che Wu (https://reviews.llvm.org/D27659)" 2016-12-15 20:11:12 +00:00
profile [Profile] Fix value profiler eviction bug 2016-11-29 22:00:54 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common Fix build breakage on FreeBSD after rL289878/rL289881 2016-12-20 07:58:49 +00:00
scudo [scudo] Use DefaultSizeClassMap for 32-bit 2016-12-15 18:06:55 +00:00
stats stats: define WIN32_LEAN_AND_MEAN when including windows.h 2016-08-30 20:15:46 +00:00
tsan [tsan] Implement __tsan_get_alloc_stack and __tsan_locate_address to query pointer types and allocation stacks of heap pointers 2016-12-19 17:52:20 +00:00
ubsan [ubsan] More 0 -> nullptr conversions (NFC) 2016-10-06 23:41:57 +00:00
xray Revert "[XRay] [compiler-rt] Move machine-dependent code into machine-dependent files." 2016-12-19 12:43:08 +00:00
CMakeLists.txt build: allow building a specific set of sanitizers 2016-08-19 15:13:21 +00:00