[llvm-bugs] [Bug 33647] New: Reduce the size of llvm-nm and llvm-ar
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 29 11:42:35 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33647
Bug ID: 33647
Summary: Reduce the size of llvm-nm and llvm-ar
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
These two utilities are very big for what they are:
% size bin/llvm-nm bin/llvm-ar
text data bss dec hex filename
11438972 3805936 128664 15373572 ea9504 bin/llvm-nm
11374922 3806224 121520 15302666 e9800a bin/llvm-ar
The main problem is that they support bitcode files. Until recently to find all
the symbols in the bitcode they had to parse it and then parse any file level
inline assembly.
This should not be necessary anymore now that bicode files have a symbol table.
--
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/20170629/08a3b04e/attachment-0001.html>
More information about the llvm-bugs
mailing list