2013-12-07 04:27:33 +08:00
|
|
|
// Should save and read back the assembly from a file
|
2013-12-10 08:54:30 +08:00
|
|
|
// RUN: %clang -target arm-none-linux-gnueabi -integrated-as -via-file-asm %s -### 2>&1 | FileCheck %s
|
2013-12-07 04:27:33 +08:00
|
|
|
// CHECK: "-cc1"
|
|
|
|
// CHECK: "-o" "[[TMP:[^"]*]]"
|
|
|
|
// CHECK: -cc1as
|
|
|
|
// CHECK: [[TMP]]
|
|
|
|
|
|
|
|
// Should not force using the integrated assembler
|
2013-12-10 08:54:30 +08:00
|
|
|
// RUN: %clang -target arm-none-linux-gnueabi -no-integrated-as -via-file-asm %s -### 2>&1 | FileCheck --check-prefix=NO_IAS %s
|
2013-12-07 04:27:33 +08:00
|
|
|
// NO_IAS-NOT: "-cc1as"
|