adrian-prantl wrote: The primary use-case I have in mind for this are Swift macro expansions, which may produce hundreds of tiny inline files per source file, hence the lazy approach. https://github.com/llvm/llvm-project/pull/75880