[llvm-bugs] [Bug 33499] New: Reduce the size of the coverage mapping section
llvm-bugs at lists.llvm.org
Sun Jun 18 15:29:19 PDT 2017
Bug ID: 33499
Summary: Reduce the size of the coverage mapping section
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: vsk at apple.com
CC: llvm-bugs at lists.llvm.org
Binaries produced with -fcoverage-mapping enabled tend to have very large
coverage mapping sections. For LLVM tools, they are in the hundreds of
megabytes range. One factor is that multiple copies of the same source mappings
are emitted into binaries (e.g from headers). We should investigate any other
contributing factors, and see what can be done to reduce the size of this
Note that coverage mapping data is highly compressible. E.g extracting the
coverage section from llc and compressing it with gzip gives a 50% size
reduction. However, compressing coverage mappings on a per translation unit
basis is not a win.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs