diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-12 22:25:36 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-12 22:25:36 +0000 |
commit | a4f770d51c402de8a8f379121aa746af37c52779 (patch) | |
tree | c624f98d07f51f4ccb0a0e6c42b5e617e9ecd16c /llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll | |
parent | b0df66b1ba63bc1d9bcfb5ed2420d32255190983 (diff) | |
download | bcm5719-llvm-a4f770d51c402de8a8f379121aa746af37c52779.tar.gz bcm5719-llvm-a4f770d51c402de8a8f379121aa746af37c52779.zip |
Update debug info test cases with empty SplitDebugFilename field.
This could be 'null' or the empty string, DIDescriptor::getStringField
coalesces the two cases anyway so it's just a matter of legible/efficient
representation.
The change in behavior of the DICompileUnit::get* functions could be
subsumed by the full verification check - but ideally that should just be an
assertion if we could front-load the actual debug info metadata failure paths.
llvm-svn: 176907
Diffstat (limited to 'llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll b/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll index c3bdbc4c551..76e7071d5ff 100644 --- a/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll +++ b/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll @@ -59,7 +59,7 @@ declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone !llvm.dbg.cu = !{!0} -!0 = metadata !{i32 786449, i32 0, i32 12, metadata !"test.c", metadata !"/Volumes/Sandbox/llvm", metadata !"clang version 3.3 (trunk 169136)", i1 true, i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1} ; [ DW_TAG_compile_unit ] [/Volumes/Sandbox/llvm/test.c] [DW_LANG_C99] +!0 = metadata !{i32 786449, i32 0, i32 12, metadata !"test.c", metadata !"/Volumes/Sandbox/llvm", metadata !"clang version 3.3 (trunk 169136)", i1 true, i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] [/Volumes/Sandbox/llvm/test.c] [DW_LANG_C99] !1 = metadata !{i32 0} !3 = metadata !{metadata !5} !5 = metadata !{i32 786478, i32 0, metadata !6, metadata !"func", metadata !"func", metadata !"", metadata !6, i32 11, metadata !7, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, i32 ()* @func, null, null, metadata !1, i32 11} ; [ DW_TAG_subprogram ] [line 11] [def] [func] |