[clang] [llvm] [ARM] Adding diagnostics for mcmodel=tiny when used in invalid targets (PR #125643)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 12:09:12 PDT 2025


================
@@ -4,6 +4,7 @@
 // RUN: %clang --target=x86_64 -### -S -mcmodel=kernel %s 2>&1 | FileCheck --check-prefix=KERNEL %s
 // RUN: %clang --target=x86_64 -### -c -mcmodel=medium %s 2>&1 | FileCheck --check-prefix=MEDIUM %s
 // RUN: %clang --target=x86_64 -### -S -mcmodel=large %s 2>&1 | FileCheck --check-prefix=LARGE %s
+// RUN: not %clang --target=x86_64 -c -mcmodel=tiny %s 2>&1 | FileCheck %s
----------------
ShashwathiNavada wrote:

Thanks for the response, I have modified the command.

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


More information about the llvm-commits mailing list