mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
f174188313
This does the similar for error messages as rL344011 has done for warnings. With llvm::lto::LTO, the error might appear when LTO::run() is executed. In that case, the calling code cannot know which module causes the error and, subsequently, cannot hint the user. Differential Revision: https://reviews.llvm.org/D61880 llvm-svn: 360857
10 lines
291 B
LLVM
10 lines
291 B
LLVM
; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s
|
|
|
|
; Test the 'override' error.
|
|
|
|
; CHECK: linking module flags 'foo': IDs have conflicting override values in '{{.*}}module-flags-5-b.ll' and 'llvm-link'
|
|
|
|
!0 = !{ i32 4, !"foo", i32 927 }
|
|
|
|
!llvm.module.flags = !{ !0 }
|