diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-04-16 18:21:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-04-16 18:21:19 +0000 |
commit | e246fbe40bd86ce56fbb621aa414b5a5896441d2 (patch) | |
tree | 1946d39bed28d41a627e2da15724a9d18a462f21 /clang/test/Driver/autolink_integrated_as.c | |
parent | 0932a1ffff7c56e4785f4a04aff9ff6a14b50f8b (diff) | |
download | bcm5719-llvm-e246fbe40bd86ce56fbb621aa414b5a5896441d2.tar.gz bcm5719-llvm-e246fbe40bd86ce56fbb621aa414b5a5896441d2.zip |
[Modules] Convert module specific -fno-modules-autolink into -fno-autolink.
- There is no reason to have a modules specific flag for disabling
autolinking. Instead, convert the existing flag into -fno-autolink (which
should cover other autolinking code generation paths like #pragmas if and
when we support them).
llvm-svn: 179612
Diffstat (limited to 'clang/test/Driver/autolink_integrated_as.c')
-rw-r--r-- | clang/test/Driver/autolink_integrated_as.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/autolink_integrated_as.c b/clang/test/Driver/autolink_integrated_as.c new file mode 100644 index 00000000000..f1e710222a2 --- /dev/null +++ b/clang/test/Driver/autolink_integrated_as.c @@ -0,0 +1,6 @@ +// RUN: %clang -target x86_64-apple-darwin -fsyntax-only %s -no-integrated-as -### 2>&1 | FileCheck %s + +// Test that the autolinking feature is disabled with *not* using the +// integrated assembler. + +// CHECK: -fno-autolink |