]> granicus.if.org Git - llvm/commit
llvm-link: Verify input modules
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Mar 2015 23:22:10 +0000 (23:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Mar 2015 23:22:10 +0000 (23:22 +0000)
commit6141f178a6c7b519f2934ec980d0d64d5f4eb3c3
tree0bf589ed8f1a998aa497196755286c7121b2df43
parent7424d9321e8d21430abae183c92eb9ac2a4b6781
llvm-link: Verify input modules

Otherwise, broken input modules can cause assertions.  I've updated two
of the testcases that started failing (modules that had `Require` flags
but didn't meet their own requirements), but Rafael and I decided that
test/Linker/2011-08-22-ResolveAlias.ll should just be deleted outright
-- it's a leftover of the way llvm-gcc used to implement weakref.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233229 91177308-0d34-0410-b5e6-96231b3b80d8
test/Linker/2011-08-22-ResolveAlias.ll [deleted file]
test/Linker/2011-08-22-ResolveAlias2.ll [deleted file]
test/Linker/broken.ll [new file with mode: 0644]
test/Linker/module-flags-3-b.ll
test/Linker/module-flags-4-b.ll
tools/llvm-link/llvm-link.cpp