aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2017-03-09 14:17:36 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2017-03-09 14:17:36 +0000
commit6fa97926e910b2ebaa3b8c2ce70f9a27320d0be0 (patch)
tree5fc6bb9cd3b7ec802e3221638f3bbf66025532cb /llvm/lib/CodeGen/MachineFunction.cpp
parente86b7e2256dec3e7f385ebced827f91a60af2bb7 (diff)
downloadllvm-6fa97926e910b2ebaa3b8c2ce70f9a27320d0be0.zip
llvm-6fa97926e910b2ebaa3b8c2ce70f9a27320d0be0.tar.gz
llvm-6fa97926e910b2ebaa3b8c2ce70f9a27320d0be0.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions