[PATCH] D149173: [llvm][vfs] Avoid silent fallback to process-wide working directory

Ben Langmuir via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 11:10:04 PDT 2023


benlangmuir created this revision.
benlangmuir added reviewers: jansvoboda11, Bigcheese, owenv.
Herald added a subscriber: hiraditya.
Herald added a project: All.
benlangmuir requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In createPhysicalFileSystem, preserve the per-instance working directory, even after the first call to getcwd fails.

rdar://108213753


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149173

Files:
  llvm/lib/Support/VirtualFileSystem.cpp
  llvm/unittests/Support/VirtualFileSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149173.516848.patch
Type: text/x-patch
Size: 4114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/169bddca/attachment.bin>


More information about the llvm-commits mailing list