gold plugin: Fix handling of corrupted bitcode files.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jul 2014 20:46:19 +0000 (20:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jul 2014 20:46:19 +0000 (20:46 +0000)
commitdf7568e9f3a38d9301e99c5ae3229b8622aa86fa
treebfc4dbf5074e5568b70d3208d6972499b2923a40
parentbcb3a4189116b038940031d69356439e64bbf20c
gold plugin: Fix handling of corrupted bitcode files.

We should still claim them and tell gold about the error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214214 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/gold/Inputs/invalid.bc [new file with mode: 0644]
test/tools/gold/invalid.ll [new file with mode: 0644]
tools/gold/gold-plugin.cpp