diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-16 18:39:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-16 18:39:23 +0000 |
commit | 1e08165ae9ee3a7b654d9030bc5c86333fe6673f (patch) | |
tree | 3d7228687acf7a63846a312083ac6c935ca46720 /test/Linker/module-flags-7-b.ll | |
parent | 75c9b9384f50e9387f24dd7ce6af403cbda6d19a (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/module-flags-7-b.ll')
-rw-r--r-- | test/Linker/module-flags-7-b.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/module-flags-7-b.ll b/test/Linker/module-flags-7-b.ll new file mode 100644 index 00000000000..2bc72508d46 --- /dev/null +++ b/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 } |