diff options
author | Chris Bieneman <beanz@apple.com> | 2016-08-23 20:07:07 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-08-23 20:07:07 +0000 |
commit | a6b39ab66c0c2b09a4c4cbbfc3734b162df02508 (patch) | |
tree | 238108014d8d57513ec030a3c5f473af7e36cace /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | ac03bce825b5d69c4e6b9160e57f9b9ba579bbd9 (diff) | |
download | bcm5719-llvm-a6b39ab66c0c2b09a4c4cbbfc3734b162df02508.tar.gz bcm5719-llvm-a6b39ab66c0c2b09a4c4cbbfc3734b162df02508.zip |
driver: Support checking for rlimits via cmake (when bootstrapping)
Summary:
Add a cmake check for sys/resource.h and replace the __has_include() check with its result, in order to make it possible to use rlimits when building with compilers not supporting __has_include() -- i.e. when bootstrapping.
// Please also re-apply dfcd52eb1d8e5d322404b40414cb7331c7380a8c (llvm-config.h fix)
Patch by: Michał Górny
Reviewers: rsmith, beanz
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D23744
llvm-svn: 279559
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions