[PATCH] D13958: Mere SHF_STRING
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 22 14:09:00 PDT 2015
rafael updated this revision to Diff 38172.
rafael added a comment.
Implemented some optimizations:
- Implements in llvm (git pull)
- Store the start point of each string in the input section.
- Cache the output offset.
Since the string case with this also works for regular merge data, use it there too.
I am doing a new clang build with this and will post the results shortly.
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-no-null.s
test/elf2/merge-string.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13958.38172.patch
Type: text/x-patch
Size: 21268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151022/21201c44/attachment.bin>
More information about the llvm-commits
mailing list