[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / clang / test / Driver / arm-restrict-it.c
bloba20a5992772e71285b28768f515578cb82687c6d
1 // RUN: %clang -target arm-none-gnueabi -mrestrict-it -### %s 2> %t
2 // RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s
4 // RUN: %clang -target armv8a-none-gnueabi -mrestrict-it -### %s 2> %t
5 // RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s
7 // CHECK-RESTRICTED: "-mllvm" "-arm-restrict-it"
9 // RUN: %clang -target arm-none-gnueabi -mno-restrict-it -### %s 2> %t
10 // RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s
12 // RUN: %clang -target armv8a-none-gnueabi -mno-restrict-it -### %s 2> %t
13 // RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s
15 // CHECK-NO-RESTRICTED: "-mllvm" "-arm-default-it"