================ @@ -0,0 +1,6 @@ +// RUN: %clang --sysroot=%S/Inputs -c -fdriver-only -Werror --target=aarch64-unknown-linux-gnu \ ---------------- Il-Capitano wrote:
There must have been a good reason I removed the `!ForMultilib` check, but I can't remember now... You're right, the check is needed for bare metal targets. As is, the test would pass with `--target=aarch64-none-elf`, but that's because there's no `sysroot/aarch64-none-elf/multilib.yaml` file found. However I was able to test for this by passing the `--multi-lib-config=%S/Inputs/multilib/empty.yaml` flag. https://github.com/llvm/llvm-project/pull/125688 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits