diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2013-09-26 21:00:51 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2013-09-26 21:00:51 +0000 |
| commit | a1b4206a7018ca8f71e2d8564fc6f464d2bed1b7 (patch) | |
| tree | 6b323dfe7b418b7c9e8ffbe95906d2c66854a1d9 /clang/test | |
| parent | cc64cc1773f2cf08e1c321a59659a9ccd2206338 (diff) | |
| download | bcm5719-llvm-a1b4206a7018ca8f71e2d8564fc6f464d2bed1b7.tar.gz bcm5719-llvm-a1b4206a7018ca8f71e2d8564fc6f464d2bed1b7.zip | |
Fix up fallout from r187156.
The previous change caused the driver to translate -Wa,-L to the
-msave-temp-labels option for cc1as, but cc1as did not accept that option.
This patch follows the same approach used for similar options (-relax-all,
-noexecstack) in the previous patch.
llvm-svn: 191458
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/integrated-as.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Driver/integrated-as.s b/clang/test/Driver/integrated-as.s index c168f67b46c..51ce31cc51f 100644 --- a/clang/test/Driver/integrated-as.s +++ b/clang/test/Driver/integrated-as.s @@ -1,8 +1,10 @@ // RUN: %clang -### -c -integrated-as %s 2>&1 | FileCheck %s - // CHECK: cc1as // CHECK-NOT: -relax-all +// RUN: %clang -### -c -integrated-as -Wa,-L %s 2>&1 | FileCheck --check-prefix=OPT_L %s +// OPT_L: msave-temp-labels + // RUN: not %clang -c -integrated-as -Wa,--compress-debug-sections %s 2>&1 | FileCheck --check-prefix=INVALID %s // INVALID: error: unsupported argument '--compress-debug-sections' to option 'Wa,' |

