
Make it easier to handle detected problems by providing the function signature(s) involved in cases of missing argument extensions.
17 lines
458 B
LLVM
17 lines
458 B
LLVM
; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -argext-abi-check 2>&1 \
|
|
; RUN: | FileCheck %s
|
|
; REQUIRES: asserts
|
|
;
|
|
; Test detection of missing extension of an outgoing i32 call argument.
|
|
|
|
define void @caller() {
|
|
call void @bar_Struct(i32 123)
|
|
ret void
|
|
}
|
|
|
|
declare void @bar_Struct(i32 %Arg)
|
|
|
|
; CHECK: ERROR: Missing extension attribute of passed value in call to function:
|
|
; CHECK: Callee: void @bar_Struct(i32)
|
|
; CHECK: Caller: void @caller()
|