[PATCH] D63887: [PoC][ThinLTO] only emit used or referenced CFI records to index

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 17:57:02 PDT 2019


inglorion added a comment.

As an example of what this does, I build Chrome (crrev.com/c/1673234 + crrev.com/c/1654198)'s base_unittests with and without this patch and looked at the sizes of the files generated for ThinLTO (.thinlto.bc, imports files, and native .o files).

without patch:

build time: 4:00.55
size of generated files: 1.5G

with patch:

build time: 3:54.38
size of generated files: 754M

The generated base_unittests binary was the same size and passes tests with or without the patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63887/new/

https://reviews.llvm.org/D63887





More information about the llvm-commits mailing list