This is to avoid checking for the validity of a file that is not used.
We have some scenarios where we create a test build of a game, with CFI sanitizer activated but blacklist disabled.
Our build system uses FastBuild : it allows distributed compilation, by sending to remote workers the compiler executable + command line + preprocessed cpp.
Without this fix, the remote build fails as the remote build doesn't have a resource-dir structure with the default blacklist file.
This also contains a minor fix for the test, as the cfi sanitizer requires -flto and -fvisibility= arguments.
I think this flag is unnecessary considering -fsanitize-system-blacklist is only used by the frontend, not the clang driver.