1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
5 ; CHECK: ret void, !bar !1, !foo !0
9 call void @llvm.dbg.func.start(metadata !"foo")
10 extractvalue {{i32, i32}, i32} undef, 0, 1, !foo !0
11 ret void, !foo !0, !bar !1
14 ; CHECK-LABEL: define void @test2() !foo !2 !baz !3
15 define void @test2() !foo !2 !baz !3 {
19 ; CHECK-LABEL: define void @test3() !bar !3
20 ; CHECK: unreachable, !bar !4
21 define void @test3() !bar !3 {
25 ; CHECK-LABEL: define void @test_attachment_name() {
26 ; CHECK: unreachable, !\342abc !4
27 define void @test_attachment_name() {
28 ;; Escape the first character when printing text IR, since it's a digit
29 unreachable, !\34\32abc !4
32 !0 = !DILocation(line: 662302, column: 26, scope: !1)
33 !1 = distinct !DISubprogram(name: "foo")
38 declare void @llvm.dbg.func.start(metadata) nounwind readnone