summaryrefslogtreecommitdiff
path: root/test/Linker/2011-08-04-DebugLoc.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-06 21:03:58 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-06 21:03:58 +0000
commit1307103dffa81494e284b17c6ecfe4c3ed9cb6ce (patch)
tree131bdd6bc008c779babcb7f68352c2e8fb336d6d /test/Linker/2011-08-04-DebugLoc.ll
parent546dcc5ddc6d3c1fee50f10bedfea239a721f0e3 (diff)
downloadllvm-1307103dffa81494e284b17c6ecfe4c3ed9cb6ce.tar.gz
llvm-1307103dffa81494e284b17c6ecfe4c3ed9cb6ce.tar.bz2
llvm-1307103dffa81494e284b17c6ecfe4c3ed9cb6ce.tar.xz
Debug Info Testing: updated to use NULL instead of "i32 0" in a few fields.
Field 2 of DIType (Context), field 9 of DIDerivedType (TypeDerivedFrom), field 12 of DICompositeType (ContainingType), fields 2, 7, 12 of DISubprogram (Context, Type, ContainingType). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2011-08-04-DebugLoc.ll')
-rw-r--r--test/Linker/2011-08-04-DebugLoc.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/2011-08-04-DebugLoc.ll b/test/Linker/2011-08-04-DebugLoc.ll
index bad56acfb8..6412b70278 100644
--- a/test/Linker/2011-08-04-DebugLoc.ll
+++ b/test/Linker/2011-08-04-DebugLoc.ll
@@ -17,9 +17,9 @@ define i32 @foo() nounwind ssp {
!llvm.dbg.sp = !{!1}
!0 = metadata !{i32 589841, metadata !8, i32 12, metadata !"Apple clang version 3.0 (tags/Apple/clang-209.11) (based on LLVM 3.0svn)", i1 true, metadata !"", i32 0, metadata !9, metadata !9, metadata !10, null, null, metadata !""} ; [ DW_TAG_compile_unit ]
-!1 = metadata !{i32 589870, metadata !8, metadata !2, metadata !"foo", metadata !"foo", metadata !"", i32 2, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 0, i1 false, i32 ()* @foo, null, null, null, i32 0} ; [ DW_TAG_subprogram ]
+!1 = metadata !{i32 589870, metadata !8, metadata !2, metadata !"foo", metadata !"foo", metadata !"", i32 2, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, i32 ()* @foo, null, null, null, i32 0} ; [ DW_TAG_subprogram ] [line 2] [def] [scope 0] [foo]
!2 = metadata !{i32 589865, metadata !8} ; [ DW_TAG_file_type ]
-!3 = metadata !{i32 589845, metadata !8, metadata !2, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
+!3 = metadata !{i32 589845, metadata !8, metadata !2, metadata !"", i32 0, i64 0, i64 0, i32 0, i32 0, null, metadata !4, i32 0, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
!4 = metadata !{metadata !5}
!5 = metadata !{i32 589860, null, metadata !0, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ]
!6 = metadata !{i32 2, i32 13, metadata !7, null}