diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-06 04:36:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-06 04:36:45 +0000 |
commit | 29aa637b377c467a089b7b8a589cc211b26018a5 (patch) | |
tree | c37c47afaa34bb7f1139bd60dfaa6b40e9fbc76f /test/Driver/function-sections.c | |
parent | 1259fb859d727be32dafd6e5905c8f4e15874e5d (diff) |
This reverts commit r234104, bringing back 233393 now that ARM is fixed.
Original message:
Don't use unique section names by default if using the integrated as.
This saves some IO and ccache space by not creating long section names. It
should work with every ELF linker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/function-sections.c')
-rw-r--r-- | test/Driver/function-sections.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Driver/function-sections.c b/test/Driver/function-sections.c index ba065b1367..6c243195f6 100644 --- a/test/Driver/function-sections.c +++ b/test/Driver/function-sections.c @@ -72,3 +72,13 @@ // RUN: -target i386-unknown-linux \ // RUN: -fno-unique-section-names \ // RUN: | FileCheck --check-prefix=CHECK-NOUS %s + +// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ +// RUN: -target i386-unknown-linux \ +// RUN: -fno-integrated-as \ +// RUN: | FileCheck --check-prefix=CHECK-US %s + +// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \ +// RUN: -target i386-unknown-linux \ +// RUN: -fintegrated-as \ +// RUN: | FileCheck --check-prefix=CHECK-NOUS %s |