Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 1 | // RUN: %clang -target arm-none-gnueeabi -munaligned-access -### %s 2> %t |
| 2 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s |
| 3 | |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 4 | // RUN: %clang -target arm-none-gnueeabi -mstrict-align -munaligned-access -### %s 2> %t |
| 5 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s |
| 6 | |
| 7 | // RUN: %clang -target arm-none-gnueeabi -mno-unaligned-access -munaligned-access -### %s 2> %t |
| 8 | // RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s |
| 9 | |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 10 | // CHECK-UNALIGNED: "-backend-option" "-arm-no-strict-align" |
| 11 | |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 12 | |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 13 | // RUN: %clang -target arm-none-gnueeabi -mno-unaligned-access -### %s 2> %t |
| 14 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s |
| 15 | |
Renato Golin | 8d5f314 | 2013-08-28 23:56:07 +0000 | [diff] [blame] | 16 | // RUN: %clang -target arm-none-gnueeabi -mstrict-align -### %s 2> %t |
| 17 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s |
| 18 | |
| 19 | // RUN: %clang -target arm-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t |
| 20 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s |
| 21 | |
| 22 | // RUN: %clang -target arm-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t |
| 23 | // RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s |
| 24 | |
Renato Golin | 171b6b1 | 2013-08-25 13:01:50 +0000 | [diff] [blame] | 25 | // CHECK-ALIGNED: "-backend-option" "-arm-strict-align" |