summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test.c
Commit message (Collapse)AuthorAgeFilesLines
* [builtins][macos] bump up the the macOS version min in os_version_check testsAlex Lorenz2018-05-171-1/+1
| | | | | | This ensures that the tests link with the latest OS. llvm-svn: 332647
* Reapply r297382: "[compiler-rt][builtins] Add __isOSVersionAtLeast()"Erik Pilkington2017-03-091-0/+19
| | | | | | Looks like the problem was a case-insensitive include of dispatch/dispatch.h. llvm-svn: 297392
* Revert "[compiler-rt][builtins] Add __isOSVersionAtLeast()"Erik Pilkington2017-03-091-19/+0
| | | | | | This reverts r297382, it was causing build failures. llvm-svn: 297388
* [compiler-rt][builtins] Add __isOSVersionAtLeast()Erik Pilkington2017-03-091-0/+19
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
OpenPOWER on IntegriCloud