summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/module-flags-7-b.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-16 18:39:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-16 18:39:23 +0000
commit0ec72bbc4ddf7a64cc709d5b05001f17a8b9fa90 (patch)
tree73a872b49d5e4d1587b1f25ad4458ba73751bb0d /llvm/test/Linker/module-flags-7-b.ll
parentb5d9d630d87263766f71bcd3c3d9000b4dff4107 (diff)
downloadbcm5719-llvm-0ec72bbc4ddf7a64cc709d5b05001f17a8b9fa90.tar.gz
bcm5719-llvm-0ec72bbc4ddf7a64cc709d5b05001f17a8b9fa90.zip
[Linker] Change module flag linking to be more extensible.
- Instead of computing a bunch of buckets of different flag types, just do an incremental link resolving conflicts as they arise. - This also has the advantage of making the link result deterministic and not dependent on map iteration order. llvm-svn: 172634
Diffstat (limited to 'llvm/test/Linker/module-flags-7-b.ll')
-rw-r--r--llvm/test/Linker/module-flags-7-b.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Linker/module-flags-7-b.ll b/llvm/test/Linker/module-flags-7-b.ll
new file mode 100644
index 00000000000..2bc72508d46
--- /dev/null
+++ b/llvm/test/Linker/module-flags-7-b.ll
@@ -0,0 +1,6 @@
+; This file is used with module-flags-7-a.ll
+; RUN: true
+
+!0 = metadata !{ i32 2, metadata !"foo", i32 37 }
+
+!llvm.module.flags = !{ !0 }
OpenPOWER on IntegriCloud