blob: 06d5ace4a194fdd543161db47b6e7b4ed5bb9b17 [file] [log] [blame]
Rafael Espindolac720d462012-12-11 05:52:24 +00001// RUN: %clang -### -c -save-temps -integrated-as %s 2>&1 | FileCheck %s
2
Rafael Espindolac720d462012-12-11 05:52:24 +00003// CHECK: cc1as
David Blaikie9260ed62013-07-25 21:19:01 +00004// CHECK: -mrelax-all
David Blaikie372d9502014-01-17 03:17:40 +00005
Saleem Abdulrasoolcfeb90d2014-02-23 00:40:30 +00006// RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS
7
8// FIAS: cc1as
9
10// RUN: %clang -### -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
David Blaikie372d9502014-01-17 03:17:40 +000017// RUN: %clang -### -c -integrated-as -Wa,-compress-debug-sections -Wno-missing-debug-compression %s 2>&1 | FileCheck --check-prefix=COMPRESS_DEBUG_QUIET %s
18// COMPRESS_DEBUG_QUIET-NOT: warning: DWARF compression is not implemented
19// COMPRESS_DEBUG_QUIET-NOT: warning: argument unused during compilation
20// COMPRESS_DEBUG_QUIET: -cc1