llvm-project/llvm/lib/Support/Unix
Hans Wennborg 0a0e411204 Use a lambda for calls to ::open in RetryAfterSignal
In Bionic, open can be overloaded for _FORTIFY_SOURCE support, causing
compile errors of RetryAfterSignal due to overload resolution. Wrapping
the call in a lambda avoids this.

Based on a patch by Chih-Wei Huang <cwhuang@linux.org.tw>!

llvm-svn: 340751
2018-08-27 15:55:39 +00:00
..
COM.inc
DynamicLibrary.inc [DynamicLibrary] Fix build on musl libc 2017-10-26 16:44:13 +00:00
Host.inc [Support] Avoid normalization in sys::getDefaultTargetTriple 2018-05-25 20:39:37 +00:00
Memory.inc [Support] Use zx_cache_flush on Fuchsia to flush instruction cache 2018-06-06 06:26:18 +00:00
Mutex.inc
Path.inc Use a lambda for calls to ::open in RetryAfterSignal 2018-08-27 15:55:39 +00:00
Process.inc Use a lambda for calls to ::open in RetryAfterSignal 2018-08-27 15:55:39 +00:00
Program.inc Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
README.txt
RWMutex.inc
Signals.inc Fix namespaces. No functionality change. 2018-06-16 13:37:52 +00:00
ThreadLocal.inc IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
Threading.inc Add OpenBSD support to the Threading code 2018-06-23 22:02:59 +00:00
Unix.h Remove @brief commands from doxygen comments, too. 2018-05-01 16:10:38 +00:00
Watchdog.inc IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00

README.txt

llvm/lib/Support/Unix README
===========================

This directory provides implementations of the lib/System classes that
are common to two or more variants of UNIX. For example, the directory
structure underneath this directory could look like this:

Unix           - only code that is truly generic to all UNIX platforms
  Posix        - code that is specific to Posix variants of UNIX
  SUS          - code that is specific to the Single Unix Specification
  SysV         - code that is specific to System V variants of UNIX

As a rule, only those directories actually needing to be created should be
created. Also, further subdirectories could be created to reflect versions of
the various standards. For example, under SUS there could be v1, v2, and v3
subdirectories to reflect the three major versions of SUS.