• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2
3; CHECK: @test
4; CHECK: ret void, !bar !1, !foo !0
5define void @test() {
6  add i32 2, 1, !bar !0
7  add i32 1, 2, !foo !1
8  call void @llvm.dbg.func.start(metadata !"foo")
9  extractvalue {{i32, i32}, i32} undef, 0, 1, !foo !0
10  ret void, !foo !0, !bar !1
11}
12
13!0 = metadata !{i32 662302, i32 26, metadata !1, null}
14!1 = metadata !{i32 4, metadata !"foo"}
15
16declare void @llvm.dbg.func.start(metadata) nounwind readnone
17
18!foo = !{ !0 }
19!bar = !{ !1 }
20