mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
4e5fdbfc61
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233667 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|