Ignore llvm specific symbols in the LTOModule.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 4 Jul 2014 19:31:27 +0000 (19:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 4 Jul 2014 19:31:27 +0000 (19:31 +0000)
commite97c25bad489d151324d48a900ad7e2779afe53e
tree4e8f2f9463efeacdea6162cfab912c645bc9737d
parentca57933f5e769be3714659386ec98822518e7c8e
Ignore llvm specific symbols in the LTOModule.

These are the llvm.* globals and functions.

I don't think it is possible to test this directly since llvm-lto is not
a full linker and will not report duplicated symbols, but this fixes
bootstrap with gold and lto enabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212354 91177308-0d34-0410-b5e6-96231b3b80d8
lib/LTO/LTOModule.cpp