13#ifndef LLVM_SUPPORT_ERRNO_H
14#define LLVM_SUPPORT_ERRNO_H
31template <
typename FailT,
typename Fun,
typename... Args>
34 decltype(
F(As...)) Res;
38 }
while (Res ==
Fail && errno == EINTR);
decltype(auto) RetryAfterSignal(const FailT &Fail, const Fun &F, const Args &... As)
std::string StrError()
Returns a string representation of the errno value, using whatever thread-safe variant of strerror() ...
This is an optimization pass for GlobalISel generic memory operations.