aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-07-12 13:24:46 +0000
committerKamil Rytarowski <n54@gmx.com>2017-07-12 13:24:46 +0000
commitcce21c1dfe9d7ca85cb0c3c6f534723afb95a857 (patch)
tree54fb1bbefae1b60b40e44a7f8085dc3f9eb9d918 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parent97cc28311742a57c982e6f91f39869d56278db67 (diff)
downloadllvm-cce21c1dfe9d7ca85cb0c3c6f534723afb95a857.zip
llvm-cce21c1dfe9d7ca85cb0c3c6f534723afb95a857.tar.gz
llvm-cce21c1dfe9d7ca85cb0c3c6f534723afb95a857.tar.bz2
Make shell redirection construct portable
Summary: NetBSD shell sh(1) does not support ">& /dev/null" construct. This is bashism. The portable and POSIX solution is to use: "> /dev/null 2>&1". This change fixes 22 Unexpected Failures on NetBSD/amd64 for the "check-llvm" target. Sponsored by <The NetBSD Foundation> Reviewers: joerg, dim, rnk Reviewed By: joerg, rnk Subscribers: rnk, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D35277 llvm-svn: 307789
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions