IR: Move MDLocation into place
[oota-llvm.git] / test / DebugInfo / tu-composite.ll
index bc55275fa99899330050381872e9448dc1f439bd..6f052ee2a82d4480d0f1487cb9d8d53bb6a5198e 100644 (file)
@@ -161,25 +161,25 @@ attributes #1 = { nounwind readnone }
 !35 = !{i32 2, !"Dwarf Version", i32 2}
 !36 = !{!"0x101\00this\0016777216\001088", !31, null, !37} ; [ DW_TAG_arg_variable ] [this] [line 0]
 !37 = !{!"0xf\00\000\0064\0064\000\000", null, null, !"_ZTS1C"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTS1C]
-!38 = !{i32 0, i32 0, !31, null}
-!39 = !{i32 5, i32 0, !31, null}
+!38 = !MDLocation(line: 0, scope: !31)
+!39 = !MDLocation(line: 5, scope: !31)
 !40 = !{!"0x100\00B\0021\000", !32, !7, !41} ; [ DW_TAG_auto_variable ] [B] [line 21]
 !41 = !{!"0x16\00baz\008\000\000\000\000", !1, null, !"_ZTS3bar"} ; [ DW_TAG_typedef ] [baz] [line 8, size 0, align 0, offset 0] [from _ZTS3bar]
-!42 = !{i32 21, i32 0, !32, null}
+!42 = !MDLocation(line: 21, scope: !32)
 !43 = !{!"0x100\00A\0022\000", !32, !7, !44} ; [ DW_TAG_auto_variable ] [A] [line 22]
 !44 = !{!"0x1\00\000\0024\008\000\000", null, null, !"_ZTS3bar", !45, i32 0, null, null, null} ; [ DW_TAG_array_type ] [line 0, size 24, align 8, offset 0] [from _ZTS3bar]
 !45 = !{!46}
 !46 = !{!"0x21\000\003"}        ; [ DW_TAG_subrange_type ] [0, 2]
-!47 = !{i32 22, i32 0, !32, null}
+!47 = !MDLocation(line: 22, scope: !32)
 !48 = !{!"0x100\00B2\0023\000", !32, !7, !49} ; [ DW_TAG_auto_variable ] [B2] [line 23]
 !49 = !{!"0x16\00baz2\0010\000\000\000\000", !1, !"_ZTS1D", !"_ZTS3bar"} ; [ DW_TAG_typedef ] [baz2] [line 10, size 0, align 0, offset 0] [from _ZTS3bar]
-!50 = !{i32 23, i32 0, !32, null}
+!50 = !MDLocation(line: 23, scope: !32)
 !51 = !{!"0x100\00e\0024\000", !32, !7, !22} ; [ DW_TAG_auto_variable ] [e] [line 24]
-!52 = !{i32 24, i32 0, !32, null}
+!52 = !MDLocation(line: 24, scope: !32)
 !53 = !{!"0x100\00p\0025\000", !32, !7, !54} ; [ DW_TAG_auto_variable ] [p] [line 25]
 !54 = !{!"0xf\00\000\0064\0064\000\000", null, null, !"_ZTSN1D7Nested2E"} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from _ZTSN1D7Nested2E]
-!55 = !{i32 25, i32 0, !32, null}
+!55 = !MDLocation(line: 25, scope: !32)
 !56 = !{!"0x100\00t\0026\000", !32, !7, !24} ; [ DW_TAG_auto_variable ] [t] [line 26]
-!57 = !{i32 26, i32 0, !32, null}
-!58 = !{i32 27, i32 0, !32, null}
+!57 = !MDLocation(line: 26, scope: !32)
+!58 = !MDLocation(line: 27, scope: !32)
 !59 = !{i32 1, !"Debug Info Version", i32 2}