[PATCH] D13958: Mere SHF_STRING
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 21 14:15:41 PDT 2015
rafael created this revision.
rafael added a reviewer: ruiu.
rafael added a subscriber: llvm-commits.
This as another early patch FYI.
The main issues with this one is the use of llvm::StringTableBuilder. It assumes a specific string format and we have to hack around it. It is also fairly slow.
With this patch the size of clang goes from 87499552 to 77160296, but the link time goes from 0.527103515 to 1.072978416.
Gold produces a binary that is 64589560 bytes long in 1.099916754 seconds.
I will try to code a more efficient StringTableBuilder and optimize offset lookups.
http://reviews.llvm.org/D13958
Files:
ELF/InputFiles.cpp
ELF/InputSection.cpp
ELF/InputSection.h
ELF/OutputSections.cpp
ELF/OutputSections.h
ELF/Writer.cpp
test/elf2/merge-string-align.s
test/elf2/merge-string-error.s
test/elf2/merge-string.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13958.38048.patch
Type: text/x-patch
Size: 16408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/eeb35076/attachment.bin>
More information about the llvm-commits
mailing list