Go to file
Teresa Johnson a61f5e3796 [ThinLTO] Import composite types as declarations
Summary:
When reading the metadata bitcode, create a type declaration when
possible for composite types when we are importing. Doing this in
the bitcode reader saves memory. Also it works naturally in the case
when the type ODR map contains a definition for the same composite type
because it was used in the importing module (buildODRType will
automatically use the existing definition and not create a type
declaration).

For Chromium built with -g2, this reduces the aggregate size of the
generated native object files by 66% (from 31G to 10G). It reduced
the time through the ThinLTO link and backend phases by about 20% on
my machine.

Reviewers: mehdi_amini, dblaikie, aprantl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D27775

llvm-svn: 289993
2016-12-16 21:25:01 +00:00
clang Revert r289979 due to regressions 2016-12-16 21:23:55 +00:00
clang-tools-extra [include-fixer] Desugar incomplete types. 2016-12-16 16:09:06 +00:00
compiler-rt Follow-up for r289831: Lower the unjoined thread count to 100 in the libcxx-future.mm testcase. 2016-12-16 18:44:01 +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 Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [CMake] Put headers relative to clang 2016-12-16 17:30:51 +00:00
libcxxabi [libc++abi] Mark failing test on Darwin as XFAIL 2016-12-13 02:43:04 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld [ELF] - Linkerscript: Implement two argument version of ALIGN() 2016-12-16 18:19:35 +00:00
lldb Fix broken escaping of commands in the build 2016-12-16 16:38:25 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [ThinLTO] Import composite types as declarations 2016-12-16 21:25:01 +00:00
openmp Follow up to r289732: Update comments in source files to reference .cpp files 2016-12-14 23:01:24 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly Revert "Fix debug info metadata for upstream change in LLVM." 2016-12-16 19:39:18 +00:00