================ @@ -0,0 +1,9 @@ +// RUN: %clang -### -c --target=aarch64 -fno-plt -Werror %s 2>&1 | FileCheck %s +// RUN: %clang -### -c --target=x86_64 -fno-plt -Werror %s 2>&1 | FileCheck %s +// RUN: %clang -### -c --target=aarch64 -fno-plt -fplt -Werror %s 2>&1 | FileCheck %s --check-prefix=NO ---------------- mstorsjo wrote:
There's quite many negations involved in this check line, can you rename the `NO` prefix to e.g. `PLT` or something like that, to signify the case when `-fplt` is in effect? Then again, using `--check-prefix=PLT` for the `aarch64-windows` target feels a bit misleading as well. Perhaps if we'd rename `CHECK` into `NOPLT` and `NO` into `DEFAULT`? https://github.com/llvm/llvm-project/pull/124081 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits