Remember archive name when creating LazyObjectFile.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 May 2017 13:55:51 +0000 (13:55 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 5 May 2017 13:55:51 +0000 (13:55 +0000)
commit80ae8ae18612d90b130f907bc81092d418c77ebe
tree437242e1cbbf3e2fe28c27d90ef3dae6f705e75a
parentf1052ceb5e5c075f3ea457e3142f8395c6a0a160
Remember archive name when creating LazyObjectFile.

It is needed for creating an unique identifier for ThinLTO.

This fixes pr32931.

llvm-svn: 302235
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/test/ELF/lto/Inputs/duplicated-name.ll [new file with mode: 0644]
lld/test/ELF/lto/duplicated-name.ll [new file with mode: 0644]