2013-09-02 22:11:33 +08:00
|
|
|
// RUN: %clang -target arm-none-gnueabi -munaligned-access -### %s 2> %t
|
2013-08-25 21:01:50 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
|
|
|
|
|
2013-09-02 22:11:33 +08:00
|
|
|
// RUN: %clang -target arm-none-gnueabi -mstrict-align -munaligned-access -### %s 2> %t
|
2013-08-29 07:56:07 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
|
|
|
|
|
2013-09-02 22:11:33 +08:00
|
|
|
// RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -munaligned-access -### %s 2> %t
|
2013-08-29 07:56:07 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED < %t %s
|
|
|
|
|
2013-08-25 21:01:50 +08:00
|
|
|
// CHECK-UNALIGNED: "-backend-option" "-arm-no-strict-align"
|
|
|
|
|
2013-08-29 07:56:07 +08:00
|
|
|
|
2013-09-02 22:11:33 +08:00
|
|
|
// RUN: %clang -target arm-none-gnueabi -mno-unaligned-access -### %s 2> %t
|
2013-08-25 21:01:50 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
|
|
|
|
|
2013-09-02 22:11:33 +08:00
|
|
|
// RUN: %clang -target arm-none-gnueabi -mstrict-align -### %s 2> %t
|
2013-08-29 07:56:07 +08:00
|
|
|
// RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
|
|
|
|
|
|
|
|
// RUN: %clang -target arm-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
|
|
|
|
|
|
|
|
// RUN: %clang -target arm-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-ALIGNED < %t %s
|
|
|
|
|
2013-08-25 21:01:50 +08:00
|
|
|
// CHECK-ALIGNED: "-backend-option" "-arm-strict-align"
|