diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2025-10-17 08:12:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 08:12:34 -0700 |
| commit | 8fe71e0bdfb9102c607001289010698e51e38711 (patch) | |
| tree | a594401a5147f6b7baa639c01e7572a9943ccac6 /llvm/unittests/Support/SourceMgrTest.cpp | |
| parent | 9ab16778c6e37e3d34e28b990bdb8839e5961805 (diff) | |
| download | llvm-8fe71e0bdfb9102c607001289010698e51e38711.zip llvm-8fe71e0bdfb9102c607001289010698e51e38711.tar.gz llvm-8fe71e0bdfb9102c607001289010698e51e38711.tar.bz2 | |
[support] Don't require VFS in `SourceMgr` for loading includes (#163862)
This commit more gracefully handles situations where `SourceMgr` isn't
initialized with a VFS and tries to resolve an include. That's what
happens with the test case `clang -flto=thin -c test.c -o /dev/null`
where test.c contains `asm(" .incbin \"foo.i\" \n");`. Propagating the
actual VFS all the way is very difficult.
This is a follow-up to #162903.
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
0 files changed, 0 insertions, 0 deletions
