aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2025-09-25 10:15:47 -0700
committerGitHub <noreply@github.com>2025-09-25 10:15:47 -0700
commita5569b4bd7f8d2696f962e4edaa5179895228e42 (patch)
treedf93cd7223e38dd8d78ea4d889f74a9f2c98c63e /llvm/unittests/Support/CommandLineTest.cpp
parent35c14c4cc32f97bd82d5bab458cf53b941b4f2dc (diff)
downloadllvm-a5569b4bd7f8d2696f962e4edaa5179895228e42.zip
llvm-a5569b4bd7f8d2696f962e4edaa5179895228e42.tar.gz
llvm-a5569b4bd7f8d2696f962e4edaa5179895228e42.tar.bz2
[llvm] Add `vfs::FileSystem` to `PassBuilder` (#160188)
Some LLVM passes need access to the filesystem to read configuration files and similar. In some places, this is achieved by grabbing the VFS from `PGOOptions`, but some passes don't have access to these and resort to just calling `vfs::getRealFileSystem()`. This PR allows setting the VFS directly on `PassBuilder` that's able to pass it down to all passes that need it.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions