Clang Project

clang_source_code/test/Driver/integrated-as.c
1// RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s
2
3// CHECK: cc1as
4// CHECK: -mrelax-all
5
6// RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS
7
8// FIAS: cc1as
9
10// RUN: %clang -target none -### -fno-integrated-as -S %s 2>&1 \
11// RUN:     | FileCheck %s -check-prefix NOFIAS
12
13// NOFIAS-NOT: cc1as
14// NOFIAS: -cc1
15// NOFIAS: -no-integrated-as
16
17// RUN: %clang -target arm-linux-androideabi -### \
18// RUN:   -integrated-as -c %s 2>&1 \
19// RUN:   | FileCheck -check-prefix=CHECK-ARM-ANDROID %s
20// CHECK-ARM-ANDROID: "-mnoexecstack"
21