mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
cd3df9500c
Unify the error messages for the various tools when `verifyModule()` fails on an input module. The "brave new way" is: lltool: path/to/input.ll: error: input module is broken! llvm-svn: 233667
9 lines
211 B
LLVM
9 lines
211 B
LLVM
; RUN: not llvm-link -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: broken.ll: error: input module is broken!
|
|
define i32 @foo(i32 %v) {
|
|
%first = add i32 %v, %second
|
|
%second = add i32 %v, 3
|
|
ret i32 %first
|
|
}
|