llvm-6502/test/Linker/module-flags-7-a.ll
Daniel Dunbar 1e08165ae9 [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
2013-01-16 18:39:23 +00:00

10 lines
262 B
LLVM

; RUN: not llvm-link %s %p/module-flags-7-b.ll -S -o - 2>&1 | FileCheck %s
; Test module flags error messages.
; CHECK: linking module flags 'foo': IDs have conflicting behaviors
!0 = metadata !{ i32 1, metadata !"foo", i32 37 }
!llvm.module.flags = !{ !0 }