[PATCH] D96757: [InstrProfiling] Use ELF section groups for counters, data and values

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 23:39:39 PST 2021


phosek added a comment.

I tested this change in the Fuchsia build. The total size of all `.o` files without this change is 31665652 (30.2GB) and with this change it increases to 32287840 (30.8GB) so the increase is about 1.9%. In terms of impact on the final system image (by enabling `--gc-sections` on instrumented binaries), the size of boot image decreases from 116M to 63M so roughly 46% reduction, and the size of system image decreases from 5.8GB to 4.2GB which is roughly 28% reduction.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96757



More information about the llvm-commits mailing list