diff options
author | David Spickett <david.spickett@arm.com> | 2020-01-13 13:35:57 +0000 |
---|---|---|
committer | David Spickett <david.spickett@arm.com> | 2020-01-20 10:04:06 +0000 |
commit | 952a540b21993e44088ff2c345df884caabbb8c0 (patch) | |
tree | f2551fb908d340a106199a3416d7c95819d1898d /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 10357e1c89b370a18500a8a8d69a68ab72db979e (diff) | |
download | llvm-952a540b21993e44088ff2c345df884caabbb8c0.zip llvm-952a540b21993e44088ff2c345df884caabbb8c0.tar.gz llvm-952a540b21993e44088ff2c345df884caabbb8c0.tar.bz2 |
[test] On Mac, don't try to use result of sysctl command if calling it failed.
If sysctl is not found at all, let the usual exception propogate
so that the user can fix their env. If it fails because of the
permissions required to read the property then print a warning
and continue.
Differential Revision: https://reviews.llvm.org/D72278
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions