]> granicus.if.org Git - llvm/commit
[Object] Deduplicate long archive member names
authorPeter Wu <peter@lekensteyn.nl>
Wed, 19 Dec 2018 16:15:05 +0000 (16:15 +0000)
committerPeter Wu <peter@lekensteyn.nl>
Wed, 19 Dec 2018 16:15:05 +0000 (16:15 +0000)
commit97de56dd4465164cea94f436a73896dbfbb5bf69
treef1f089636021c23275547ac809ae2896f2f501ba
parent50ca11abbd00b4a93198a3c8b9edfc570b723361
[Object] Deduplicate long archive member names

Summary:
Import libraries as created by llvm-dlltool always use the same archive
member name for every object file (namely, the DLL library name). Ensure
that long names are not repeatedly stored in the string table.

Reviewed By: ruiu

Differential Revision: https://reviews.llvm.org/D55860

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349637 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/ArchiveWriter.cpp
test/Object/archive-format.test