summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/pr13303.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-04-19 06:57:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-04-19 06:57:04 +0000
commit88564f3cf7dc3f9d925cdcc181e885e893b8bb6f (patch)
treef27a13be3de0e5827190bf22915b34391a61c254 /llvm/test/DebugInfo/X86/pr13303.ll
parentbfa5274df5a15fd0fcdc6c93caa374f4feed60db (diff)
downloadbcm5719-llvm-88564f3cf7dc3f9d925cdcc181e885e893b8bb6f.tar.gz
bcm5719-llvm-88564f3cf7dc3f9d925cdcc181e885e893b8bb6f.zip
PR14606: debug info imported_module support
Adding another CU-wide list, in this case of imported_modules (since they should be relatively rare, it seemed better to add a list where each element had a "context" value, rather than add a (usually empty) list to every scope). This takes care of DW_TAG_imported_module, but to fully address PR14606 we'll need to expand this to cover DW_TAG_imported_declaration too. llvm-svn: 179836
Diffstat (limited to 'llvm/test/DebugInfo/X86/pr13303.ll')
-rw-r--r--llvm/test/DebugInfo/X86/pr13303.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/pr13303.ll b/llvm/test/DebugInfo/X86/pr13303.ll
index 34956237ae0..63ddfa7a745 100644
--- a/llvm/test/DebugInfo/X86/pr13303.ll
+++ b/llvm/test/DebugInfo/X86/pr13303.ll
@@ -14,7 +14,7 @@ entry:
!llvm.dbg.cu = !{!0}
-!0 = metadata !{i32 786449, i32 12, metadata !6, metadata !"clang version 3.2 (trunk 160143)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] [/home/probinson/PR13303.c] [DW_LANG_C99]
+!0 = metadata !{i32 786449, i32 12, metadata !6, metadata !"clang version 3.2 (trunk 160143)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] [/home/probinson/PR13303.c] [DW_LANG_C99]
!1 = metadata !{i32 0}
!3 = metadata !{metadata !5}
!5 = metadata !{i32 786478, metadata !6, metadata !"main", metadata !"main", metadata !"", metadata !6, i32 1, metadata !7, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, i32 ()* @main, null, null, metadata !1, i32 1} ; [ DW_TAG_subprogram ] [line 1] [def] [main]
OpenPOWER on IntegriCloud