aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/debuginfo.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-13 00:01:35 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-13 00:01:35 +0000
commitde3077ae6b5ad8e6f417a8f6aa0ca1ae980f6272 (patch)
tree54b7fc0b810ea78b5cd7c0a16bbaea5b1e7f1796 /test/Transforms/InstCombine/debuginfo.ll
parentb79d25ca9c3b895d8fdc88c3acefec1202ca9da3 (diff)
downloadexternal_llvm-de3077ae6b5ad8e6f417a8f6aa0ca1ae980f6272.zip
external_llvm-de3077ae6b5ad8e6f417a8f6aa0ca1ae980f6272.tar.gz
external_llvm-de3077ae6b5ad8e6f417a8f6aa0ca1ae980f6272.tar.bz2
Refactor filename/directory in DICompileUnit into a DIFile
This is the next step towards making the metadata for DIScopes have a common prefix rather than having to delegate based on their tag type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/debuginfo.ll')
-rw-r--r--test/Transforms/InstCombine/debuginfo.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/debuginfo.ll b/test/Transforms/InstCombine/debuginfo.ll
index bc38353..b2b81a0 100644
--- a/test/Transforms/InstCombine/debuginfo.ll
+++ b/test/Transforms/InstCombine/debuginfo.ll
@@ -28,14 +28,12 @@ entry:
ret i8* %call, !dbg !21
}
-!25 = metadata !{metadata !0, metadata !7, metadata !9}
!llvm.dbg.cu = !{!3}
-!24 = metadata !{metadata !1}
!0 = metadata !{i32 786689, metadata !1, metadata !"__dest", metadata !2, i32 16777294, metadata !6, i32 0, null} ; [ DW_TAG_arg_variable ]
!1 = metadata !{i32 786478, i32 0, metadata !2, metadata !"foobar", metadata !"foobar", metadata !"", metadata !2, i32 79, metadata !4, i1 true, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, i8* (i8*, i32, i64)* @foobar, null, null, metadata !25, i32 79} ; [ DW_TAG_subprogram ]
!2 = metadata !{i32 786473, metadata !"string.h", metadata !"Game", metadata !3} ; [ DW_TAG_file_type ]
-!3 = metadata !{i32 786449, i32 0, i32 12, metadata !"bits.c", metadata !"Game", metadata !"clang version 3.0 (trunk 127710)", i1 true, metadata !"", i32 0, null, null, metadata !24, null, null} ; [ DW_TAG_compile_unit ]
+!3 = metadata !{i32 786449, i32 0, i32 12, metadata !26, metadata !"clang version 3.0 (trunk 127710)", i1 true, metadata !"", i32 0, null, null, metadata !24, null, null} ; [ DW_TAG_compile_unit ]
!4 = metadata !{i32 786453, metadata !2, metadata !"", metadata !2, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !5, i32 0, i32 0} ; [ DW_TAG_subroutine_type ]
!5 = metadata !{metadata !6}
!6 = metadata !{i32 786447, metadata !3, metadata !"", null, i32 0, i64 64, i64 64, i64 0, i32 0, null} ; [ DW_TAG_pointer_type ]
@@ -56,3 +54,6 @@ entry:
!21 = metadata !{i32 80, i32 3, metadata !22, null}
!22 = metadata !{i32 786443, metadata !23, i32 80, i32 3, metadata !2, i32 7} ; [ DW_TAG_lexical_block ]
!23 = metadata !{i32 786443, metadata !1, i32 79, i32 1, metadata !2, i32 6} ; [ DW_TAG_lexical_block ]
+!24 = metadata !{metadata !1}
+!25 = metadata !{metadata !0, metadata !7, metadata !9}
+!26 = metadata !{i32 786473, metadata !"bits.c", metadata !"Game", metadata !3} ; [ DW_TAG_file_type ]