llvm-project/llvm/tools/yaml2obj
Hans Wennborg 83e6e1e926 ELFObjectWriter: deduplicate suffices in strtab
We already do this for shstrtab, so might as well do it for strtab. This
extracts the string table building code into a separate class. The idea
is to use it for other object formats too.

I mostly wanted to do this for the general principle, but it does save a
little bit on object file size. I tried this on a clang bootstrap and
saved 0.54% on the sum of object file sizes (1.14 MB out of 212 MB for
a release build).

Differential Revision: http://reviews.llvm.org/D3533

llvm-svn: 207670
2014-04-30 16:25:02 +00:00
..
CMakeLists.txt llvm/tools: Prune redundant target_link_libraries. 2014-01-31 17:40:06 +00:00
Makefile Fix the configure build. 2013-05-17 23:20:58 +00:00
yaml2coff.cpp Object: Provide a richer means of describing auxiliary symbols 2014-03-19 04:47:47 +00:00
yaml2elf.cpp ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
yaml2obj.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
yaml2obj.h [yaml2obj] Initial ELF support. 2013-06-10 23:44:15 +00:00