[all-commits] [llvm/llvm-project] 5437a4: [llvm][vfs] Avoid silent fallback to process-wide ...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Tue May 2 09:39:27 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5437a4c5e90886c6688da90eaf70617d50e64895
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  [llvm][vfs] Avoid silent fallback to process-wide working directory

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


Differential Revision: https://reviews.llvm.org/D149173

More information about the All-commits mailing list