diff options
author | Ben Barham <ben_barham@apple.com> | 2022-04-04 16:38:46 -0700 |
---|---|---|
committer | Ben Barham <ben_barham@apple.com> | 2022-04-05 14:24:40 -0700 |
commit | f65b0b5dcfeb04e9e6794b32a075432ce3de1ccd (patch) | |
tree | e71988b58638ca3123b773026406edda326e3351 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | c2f6460145175d265cd1a7ad7906b778bb11fa3d (diff) | |
download | llvm-f65b0b5dcfeb04e9e6794b32a075432ce3de1ccd.zip llvm-f65b0b5dcfeb04e9e6794b32a075432ce3de1ccd.tar.gz llvm-f65b0b5dcfeb04e9e6794b32a075432ce3de1ccd.tar.bz2 |
Revert "[VFS] RedirectingFileSystem only replace path if not already mapped"
This reverts commit 3fda0edc51fd68192a30e302d45db081bb02d7f9, which
breaks crash reproducers in very specific circumstances. Specifically,
since crash reproducers have `UseExternalNames` set to false, the
`File->getFileEntry().getDir()->getName()` call in `DoFrameworkLookup`
would use the *cached* directory name instead of the directory of the
looked-up file.
The plan is to re-commit this patch but to *add*
`ExposesExternalVFSPath` rather than replace `IsVFSMapped`.
Differential Revision: https://reviews.llvm.org/D123103
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions