sheredom wrote:

> Right, that's what I meant by "Is it trying to set it too early before the 
> VFS is created or something?". We could make the driver setup the VFS like 
> the frontend would and do that before checking the -working-directory; not 
> sure if there's a reason we don't do that already. Or maybe we could ignore 
> the failure to set the working directory in the driver and check it in the 
> frontend? That might cause some poor diagnostics if the driver is accessing 
> relative paths and the working directory wasn't set successfully

Yeah for sure! I'll mock up a solution and see how it fares with the rest of 
the test suite and get back to you.

https://github.com/llvm/llvm-project/pull/106577
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to