IR: Move MDLocation into place
[oota-llvm.git] / test / Linker / DbgDeclare2.ll
index 29f3ecbdf50e2d66f4c56c3ad806fc2cb9cee1df..2f01b0eaea2e5ff5b068c424e224a59f7b060798 100644 (file)
@@ -64,16 +64,16 @@ declare i32 @puts(i8*)
 !12 = !{!"0x26\00\000\000\000\000\000", null, null, !13} ; [ DW_TAG_const_type ]
 !13 = !{!"0x24\00char\000\008\008\000\000\006", null, null} ; [ DW_TAG_base_type ]
 !14 = !{!"0x101\00argc\0016777220\000", !5, !6, !9} ; [ DW_TAG_arg_variable ]
-!15 = !{i32 4, i32 0, !5, null}
+!15 = !MDLocation(line: 4, scope: !5)
 !16 = !{!"0x101\00argv\0033554436\000", !5, !6, !10} ; [ DW_TAG_arg_variable ]
 !17 = !{!"0x100\00i\006\000", !18, !6, !9} ; [ DW_TAG_auto_variable ]
 !18 = !{!"0xb\006\000\001", !26, !19} ; [ DW_TAG_lexical_block ]
 !19 = !{!"0xb\005\000\000", !26, !5} ; [ DW_TAG_lexical_block ]
-!20 = !{i32 6, i32 0, !18, null}
-!21 = !{i32 8, i32 0, !22, null}
+!20 = !MDLocation(line: 6, scope: !18)
+!21 = !MDLocation(line: 8, scope: !22)
 !22 = !{!"0xb\007\000\002", !26, !18} ; [ DW_TAG_lexical_block ]
-!23 = !{i32 9, i32 0, !22, null}
-!24 = !{i32 10, i32 0, !19, null}
+!23 = !MDLocation(line: 9, scope: !22)
+!24 = !MDLocation(line: 10, scope: !19)
 !25 = !{!"main.cpp", !"/private/tmp"}
 !26 = !{!"test.cpp", !"/private/tmp"}
 !27 = !{i32 1, !"Debug Info Version", i32 2}