diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-02-23 00:40:30 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-02-23 00:40:30 +0000 |
commit | cfeb90d7a800efb7320b00d866cd006144583b06 (patch) | |
tree | 2f617e7d388e62a5c3f0dc8cf4c62ab07b747891 /clang/test/Driver/integrated-as.c | |
parent | 39265b96b56734cb9b7616109a6f200f97b8c519 (diff) | |
download | bcm5719-llvm-cfeb90d7a800efb7320b00d866cd006144583b06.tar.gz bcm5719-llvm-cfeb90d7a800efb7320b00d866cd006144583b06.zip |
clang: add -f{no-,}integrate-as as consistent parameters
The integrated assembler is a feature. This makes the new flags the default
option, and the previous versions aliases. Ideally, at some point the aliases
would be entirely removed.
llvm-svn: 201963
Diffstat (limited to 'clang/test/Driver/integrated-as.c')
-rw-r--r-- | clang/test/Driver/integrated-as.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Driver/integrated-as.c b/clang/test/Driver/integrated-as.c index 5bf1f847b41..06d5ace4a19 100644 --- a/clang/test/Driver/integrated-as.c +++ b/clang/test/Driver/integrated-as.c @@ -3,6 +3,17 @@ // CHECK: cc1as // CHECK: -mrelax-all +// RUN: %clang -### -fintegrated-as -c -save-temps %s 2>&1 | FileCheck %s -check-prefix FIAS + +// FIAS: cc1as + +// RUN: %clang -### -fno-integrated-as -S %s 2>&1 \ +// RUN: | FileCheck %s -check-prefix NOFIAS + +// NOFIAS-NOT: cc1as +// NOFIAS: -cc1 +// NOFIAS: -no-integrated-as + // RUN: %clang -### -c -integrated-as -Wa,-compress-debug-sections -Wno-missing-debug-compression %s 2>&1 | FileCheck --check-prefix=COMPRESS_DEBUG_QUIET %s // COMPRESS_DEBUG_QUIET-NOT: warning: DWARF compression is not implemented // COMPRESS_DEBUG_QUIET-NOT: warning: argument unused during compilation |