]> granicus.if.org Git - llvm/commit
Make llvm-link behave a bit more like LTO.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Oct 2014 19:40:45 +0000 (19:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 23 Oct 2014 19:40:45 +0000 (19:40 +0000)
commite37b00e50be8b10db6e48b977c1f0d935d5b189d
tree6eea9ffc718cb17441a4ab717400d6de371c4456
parenta1afbd64211d2fa6ff6ed8a14e0b4e944b345dac
Make llvm-link behave a bit more like LTO.

* Read modules lazily
* Don't treat the first file specially, instead merge all inputs into an empty
  module.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220501 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-link/llvm-link.cpp