[llvm-bugs] [Bug 52232] New: llvm-dwp is 29 times as large as GNU dwp

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 20 05:45:54 PDT 2021


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

            Bug ID: 52232
           Summary: llvm-dwp is 29 times as large as GNU dwp
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Building with:

$ cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=llvm
-DLLVM_TARGETS_TO_BUILD=X86 /work/llvm.monorepo/llvm && ninja llvm-dwp && strip
-s bin/llvm-dwp && ls -l bin/llvm-dwp

Results in a 27,097,000 byte binary.

In comparison, /usr/bin/x86_64-linux-gnu-dwp (GNU dwp (GNU Binutils for Debian)
2.37) on my system is 945,616 bytes.


Why is llvm-dwp so much larger? Could we make it smaller?

-- 
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/20211020/3cb058ea/attachment.html>


More information about the llvm-bugs mailing list