OSDN Git Service

Object: Downgrade invalid weak externals from an assert fail to an llvm::Error when...
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 7 Sep 2017 01:33:52 +0000 (01:33 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 7 Sep 2017 01:33:52 +0000 (01:33 +0000)
commitc906847356f68b626aaa91b44b2729eef67f8a26
treeb87a84246a5b41e5fa78790fb800f212ae784f0b
parente0de89287c6416b5ce76c6e719b421738cbb55cd
Object: Downgrade invalid weak externals from an assert fail to an llvm::Error when creating an irsymtab.

This fixes bitcode emission for modules containing invalid weak externals.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312686 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Object/IRSymtab.cpp
test/Bitcode/invalid-weak-external.ll [new file with mode: 0644]