diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-04 18:21:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-04 18:21:14 +0000 |
commit | 321fabfd8e27bbfe57861997d06b6c227a4a6cdd (patch) | |
tree | 5a8405eb06632a48dc7e6f6d17afbb593714d691 /clang/test/Driver/function-sections.c | |
parent | 972d55851a39494dd9fb9ecef5efaf5e03d55ef5 (diff) | |
download | bcm5719-llvm-321fabfd8e27bbfe57861997d06b6c227a4a6cdd.tar.gz bcm5719-llvm-321fabfd8e27bbfe57861997d06b6c227a4a6cdd.zip |
Revert "Revert "Don't use unique section names by default if using the integrated as.""
This reverts commit r233398, bringing back 233393 now that LLVM 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.
llvm-svn: 234101
Diffstat (limited to 'clang/test/Driver/function-sections.c')
-rw-r--r-- | clang/test/Driver/function-sections.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Driver/function-sections.c b/clang/test/Driver/function-sections.c index ba065b1367a..6c243195f62 100644 --- a/clang/test/Driver/function-sections.c +++ b/clang/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 |