[llvm-bugs] [Bug 35621] New: Wasm data segment initialisers should omit zeros

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 11 05:33:34 PST 2017


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

            Bug ID: 35621
           Summary: Wasm data segment initialisers should omit zeros
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ncw at realvnc.com
                CC: llvm-bugs at lists.llvm.org

When LLD creates Wasm output, it should compress the data by splitting the
memory initializer around runs of zeros, which are redundant.  This should work
because the Memory starts off zero-initialised I believe?  A large
zero-initialised array shouldn't take any space in the output file.

-- 
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/20171211/4018d340/attachment.html>


More information about the llvm-bugs mailing list