[llvm] [Support] Better error msg when cache dir can't be created. (PR #69575)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 09:55:47 PDT 2023


teresajohnson wrote:

> what do you think about the fact that it calls a fatal error here? Wouldn't a normal error be enough so that you don't get a scary trace back just for a missing directory?

I don't think the caching code itself is reporting it as a fatal error, it is simply returning an error from localCache() and I guess the linker client is reporting as a fatal error? I'm not sure what the linker typically does for errors like this.


https://github.com/llvm/llvm-project/pull/69575


More information about the llvm-commits mailing list