summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/stack-align.ll
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-01-24 10:57:01 +0000
committerPavel Labath <labath@google.com>2017-01-24 10:57:01 +0000
commitf726dfa65edebb6827eb5c8f17d028ad7e588b49 (patch)
tree28fe5cb52337e28a3cc1987208f7388b771aa6aa /llvm/test/CodeGen/X86/stack-align.ll
parent992ac2d5c2af380ad094bcf6fc38927f7d539194 (diff)
downloadbcm5719-llvm-f726dfa65edebb6827eb5c8f17d028ad7e588b49.tar.gz
bcm5719-llvm-f726dfa65edebb6827eb5c8f17d028ad7e588b49.zip
[Support] Use O_CLOEXEC only when declared
Summary: Use the O_CLOEXEC flag only when it is available. Some old systems (e.g. SLES10) do not support this flag. POSIX explicitly guarantees that this flag can be checked for using #if, so there is no need for a CMake check. In case O_CLOEXEC is not supported, fall back to fcntl(FD_CLOEXEC) instead. Reviewers: rnk, rafael, mgorny Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28894 llvm-svn: 292912
Diffstat (limited to 'llvm/test/CodeGen/X86/stack-align.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud