You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
388 B
16 lines
388 B
4 months ago
|
; RUN: llvm-link %s %p/metadata-b.ll -S -o - | FileCheck %s
|
||
|
|
||
|
; CHECK: define void @foo(i32 %a)
|
||
|
; CHECK: ret void, !attach !0
|
||
|
; CHECK: define void @goo(i32 %b)
|
||
|
; CHECK: ret void, !attach !1
|
||
|
; CHECK: !0 = !{i32 524334, void (i32)* @foo}
|
||
|
; CHECK: !1 = !{i32 524334, void (i32)* @goo}
|
||
|
|
||
|
define void @foo(i32 %a) nounwind {
|
||
|
entry:
|
||
|
ret void, !attach !0
|
||
|
}
|
||
|
|
||
|
!0 = !{i32 524334, void (i32)* @foo}
|