1 // RUN: %clang -target arm-none-gnueabi -munaligned-access -### %s 2> %t
2 // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
4 // RUN: %clang -target arm-none-gnueabi -mstrict-align -munaligned-access -### %s 2> %t
5 // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
7 // RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -munaligned-access -### %s 2> %t
8 // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
10 // CHECK-UNALIGNED: "-backend-option" "-arm-no-strict-align"
13 // RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -### %s 2> %t
14 // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
16 // RUN: %clang -target arm-none-gnueabi -mstrict-align -### %s 2> %t
17 // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
19 // RUN: %clang -target arm-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t
20 // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
22 // RUN: %clang -target arm-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t
23 // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
25 // CHECK-ALIGNED: "-backend-option" "-arm-strict-align"