mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
ac8f9382bc
- 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
10 lines
262 B
LLVM
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 }
|