Go to file
Ed Schouten 6e57615ac8 Enable -ffunction-sections and -fdata-sections for CloudABI by default.
Unlike most of the other platforms supported by Clang, CloudABI only
supports static linkage, for the reason that global filesystem access is
prohibited. Functions provided by dlfcn.h are not present. As we know
that applications will not try to do any symbol lookups at run-time, we
can garbage collect unused code quite aggressively. Because of this, it
makes sense to enable -ffunction-sections and -fdata-sections by
default.

Object files will be a bit larger than usual, but the resulting binary
will not be affected, as the sections are merged again. However, when
--gc-sections is used, the linker is able to remove unused code far more
more aggressively. It also has the advantage that transitive library
dependencies only need to be provided to the linker in case that
functionality is actually used.

Differential Revision:	http://reviews.llvm.org/D8635
Reviewed by:	echristo

llvm-svn: 233299
2015-03-26 17:50:28 +00:00
clang Enable -ffunction-sections and -fdata-sections for CloudABI by default. 2015-03-26 17:50:28 +00:00
clang-tools-extra Fix false positive on anonymous namespaces in headers. 2015-03-24 15:21:45 +00:00
compiler-rt [UBSan] Explicitly list all supported OS/arch pairs supported by UBSan. 2015-03-26 17:26:04 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement fast_distance builtin 2015-03-23 18:10:04 +00:00
libcxx Add tests for library version of is_convertible 2015-03-26 16:45:21 +00:00
libcxxabi Don't print debugging messages to stdout. 2015-03-19 09:17:21 +00:00
lld [ARM] Fix PLT IFUNC symbol names in Release build 2015-03-26 15:44:19 +00:00
lldb Add an assertion for frame[0] being valid in CommandObjectThread.cpp. 2015-03-26 17:47:34 +00:00
llgo llgoi: Fix type identity for imported binary packages. 2015-03-18 08:34:40 +00:00
llvm [AArch64] Move initializations of AArch64NamedImmMapper out of void AArch64Operand::print(...) 2015-03-26 17:29:53 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Drop -polly-vectorizer-unroll-only option 2015-03-23 07:00:36 +00:00