[PATCH] D36265: Support lib changes to allow VFS implementation handling working dir locally.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 11:37:47 PDT 2017


zturner added a comment.

It's not just Windows, but not even all unixes support `openat`.  Minimum required version of various Unixes are:

DragonFly 2.3.
FreeBSD 8.0.
Linux 2.6.16
NetBSD 7.0.
OpenBSD 5.0.
OS X 10.10.

I don't know how old some of these are, but you should check first to make sure we don't support any versions of these unix variants with versions older than specified above.  As for Windows, If we're going to use `Nt` functions, I would rather they be entirely separate functions.  i.e. not done via an optional parameter to an existing function, but a completely new function.


https://reviews.llvm.org/D36265





More information about the llvm-commits mailing list