[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:40:10 PDT 2017


zturner added a comment.

Also, even without using the `Nt` functions, you could get the working directory via the process's `HANDLE`, then stitch together a new working directory and build an absolute path out of it.  It's not entirely atomic the way `openat` is because someone could change the working directory of the process after you query its working directory, but I suspect that wouldn't matter?


https://reviews.llvm.org/D36265





More information about the llvm-commits mailing list