Home | History | Annotate | Download | only in Linker
      1 ; RUN: llvm-link %s %p/metadata-b.ll -S -o - | FileCheck %s
      2 
      3 ; CHECK: define void @foo(i32 %a)
      4 ; CHECK: ret void, !attach !0, !also !{i32 %a}
      5 ; CHECK: define void @goo(i32 %b)
      6 ; CHECK: ret void, !attach !1, !and !{i32 %b}
      7 ; CHECK: !0 = metadata !{i32 524334, void (i32)* @foo}
      8 ; CHECK: !1 = metadata !{i32 524334, void (i32)* @goo}
      9 
     10 define void @foo(i32 %a) nounwind {
     11 entry:
     12   ret void, !attach !0, !also !{ i32 %a }
     13 }
     14 
     15 !0 = metadata !{i32 524334, void (i32)* @foo}
     16