[llvm-bugs] [Bug 33499] New: Reduce the size of the coverage mapping section

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 18 15:29:19 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33499

            Bug ID: 33499
           Summary: Reduce the size of the coverage mapping section
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         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
section.

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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170618/d1dc40b8/attachment.html>


More information about the llvm-bugs mailing list