summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/module-flags-3-b.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-25 23:22:10 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-25 23:22:10 +0000
commit041ceb7d57d81c34d530ca50d947857facb6f40f (patch)
tree8337520a4a5323835a3b09d3f1f77b57d0e15d51 /llvm/test/Linker/module-flags-3-b.ll
parent093b2d48b46919e4323f4217ab13a4ec46c8ac0a (diff)
downloadbcm5719-llvm-041ceb7d57d81c34d530ca50d947857facb6f40f.tar.gz
bcm5719-llvm-041ceb7d57d81c34d530ca50d947857facb6f40f.zip
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. llvm-svn: 233229
Diffstat (limited to 'llvm/test/Linker/module-flags-3-b.ll')
-rw-r--r--llvm/test/Linker/module-flags-3-b.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Linker/module-flags-3-b.ll b/llvm/test/Linker/module-flags-3-b.ll
index 2e6e5297ead..a983db20e5a 100644
--- a/llvm/test/Linker/module-flags-3-b.ll
+++ b/llvm/test/Linker/module-flags-3-b.ll
@@ -2,5 +2,6 @@
; RUN: true
!0 = !{i32 3, !"foo", !{!"bar", i32 42}}
+!1 = !{i32 1, !"bar", i32 42}
-!llvm.module.flags = !{ !0 }
+!llvm.module.flags = !{ !0, !1 }
OpenPOWER on IntegriCloud