view test/Linker/metadata-a.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents 60c9769439b8
children
line wrap: on
line source

; 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}