]> granicus.if.org Git - llvm/commit
Revert "[Support] Add RetryAfterSignal helper function" and subsequent fix
authorPavel Labath <labath@google.com>
Thu, 22 Jun 2017 14:18:55 +0000 (14:18 +0000)
committerPavel Labath <labath@google.com>
Thu, 22 Jun 2017 14:18:55 +0000 (14:18 +0000)
commit2dfb7e4fe8bd72c8b9801c6c485d80df92e8c20a
tree12c964f33f7d0c4deaabcf0440a2f876809e0d0e
parent7e5eff00e0c89103d1ee38cf922d0a24dece91a9
Revert "[Support] Add RetryAfterSignal helper function" and subsequent fix

The fix in r306003 uncovered a pretty fundamental problem that libc++
implementation of std::result_of does not handle the prototype of
open(2) correctly (presumably because it contains ...). This makes the
whole function unusable in its current form, so I am also reverting the
original commit (r305892), which introduced the function, at least until
I figure out a way to solve the libc++ issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306005 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Errno.h
lib/Support/MemoryBuffer.cpp
lib/Support/Unix/Path.inc
lib/Support/Unix/Process.inc
unittests/Support/CMakeLists.txt
unittests/Support/ErrnoTest.cpp [deleted file]