llvm-project/compiler-rt/lib
Erik Pilkington 6fa97926e9 [compiler-rt][builtins] Add __isOSVersionAtLeast()
This predicate compares the host's marketing OS version to one passed as
argument. Currently, only darwin targets are supported. This is done by parsing
the SystemVersion.plist file.

Also added in this patch is some lit testing infrastructure for builtins, which
previously had none. This part of the patch was written by Alex Lorenz (with
some minor modifications).

This patch is part of a feature I proposed here:
http://lists.llvm.org/pipermail/cfe-dev/2016-July/049851.html

Differential revision: https://reviews.llvm.org/D30136

llvm-svn: 297382
2017-03-09 14:17:36 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [sanitizer] Bail out with warning if user dlopens shared library with RTLD_DEEPBIND flag 2017-03-09 10:47:38 +00:00
builtins [compiler-rt][builtins] Add __isOSVersionAtLeast() 2017-03-09 14:17:36 +00:00
cfi Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
dfsan Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
esan Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
interception [interception] Check for export table's size before referring to its elements. 2017-01-30 18:23:37 +00:00
lsan Revert "Use pthreads for thread-local lsan allocator cache on darwin" 2017-03-02 00:12:58 +00:00
msan [msan] Test for _mm_getcsr and _mm_setcsr (r296848). 2017-03-03 01:13:23 +00:00
profile Revert "[PGO] Suspend SIGKILL for PR_SET_PDEATHSIG in profile-write" 2017-02-20 15:03:12 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [sanitizer] Bail out with warning if user dlopens shared library with RTLD_DEEPBIND flag 2017-03-09 10:47:38 +00:00
scudo [scudo] 32-bit quarantine sizes adjustments and bug fixes 2017-02-03 20:49:42 +00:00
stats Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00
tsan Re-commit of r295318, which was reverted due to AArch64 flakiness. Moving the test to Darwin only. 2017-02-22 01:13:34 +00:00
ubsan [sanitizer] Use interception to access to strong definitions in the executable. 2017-02-02 23:02:11 +00:00
xray [XRay] [compiler-rt] Stub out architectures we don't do arg1 logging on. 2017-03-06 08:26:21 +00:00
CMakeLists.txt Revert "[sancov] moving sancov rt to sancov/ directory" 2017-01-12 01:37:35 +00:00