diff options
author | Kevin Enderby <enderby@apple.com> | 2013-11-18 23:30:29 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2013-11-18 23:30:29 +0000 |
commit | 6efcf6f97a97242a9ca6583375457048277d9018 (patch) | |
tree | 521c9da751d37bb82f0368b01e2a4b29c4d4b83d /test/Driver/darwin-as.c | |
parent | f4966557bedd375dbf0909c8d94e092ddf0dc8de (diff) | |
download | clang-6efcf6f97a97242a9ca6583375457048277d9018.tar.gz |
Change the clang driver with the use of -no-integrated-as for darwin to use
the -Q flag to the as(1) assembler driver.
We will soon be switching the darwin as(1) assembler driver to call clang(1)
and use the intergated assembler by default. To do this and still support
clang(1)'s -no-integrated-as flag, when clang(1) runs the as(1) assembler
driver and -no-integrated-as is used it needs to pass the -Q flag to as(1)
so it uses its GNU based assembler, and not turn around and call clag(1)'s
integrated assembler.
rdar://15495921
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/darwin-as.c')
-rw-r--r-- | test/Driver/darwin-as.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/darwin-as.c b/test/Driver/darwin-as.c index 8b13d77d01..58c850eb9b 100644 --- a/test/Driver/darwin-as.c +++ b/test/Driver/darwin-as.c @@ -2,16 +2,16 @@ // RUN: -no-integrated-as -static -dynamic 2>%t // RUN: FileCheck -check-prefix=CHECK-STATIC_AND_DYNAMIC-32 --input-file %t %s // -// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" +// CHECK-STATIC_AND_DYNAMIC-32: as{{(.exe)?}}" "-Q" "-arch" "i386" "-force_cpusubtype_ALL" "-static" "-o" // RUN: %clang -target x86_64-apple-darwin10 -### -x assembler -c %s \ // RUN: -no-integrated-as -static 2>%t // RUN: FileCheck -check-prefix=CHECK-STATIC-64 --input-file %t %s // -// CHECK-STATIC-64: as{{(.exe)?}}" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" +// CHECK-STATIC-64: as{{(.exe)?}}" "-Q" "-arch" "x86_64" "-force_cpusubtype_ALL" "-o" // RUN: %clang -target x86_64-apple-darwin10 -### \ // RUN: -arch armv6 -no-integrated-as -x assembler -c %s 2>%t // RUN: FileCheck -check-prefix=CHECK-ARMV6 --input-file %t %s // -// CHECK-ARMV6: as{{(.exe)?}}" "-arch" "armv6" "-o" +// CHECK-ARMV6: as{{(.exe)?}}" "-Q" "-arch" "armv6" "-o" |