diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-02-04 01:23:52 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-02-04 01:23:52 +0000 |
commit | cec7ce78d7fbf467aab075a3ce1fd128261b1a88 (patch) | |
tree | 2d4caac78fa8f074aa95ef77ca6d9512e4acfb48 /test/DebugInfo/two-cus-from-same-file.ll | |
parent | ee3a79a1e482e4bef1ebca525ec586dd2d4a69e2 (diff) | |
download | llvm-cec7ce78d7fbf467aab075a3ce1fd128261b1a88.tar.gz llvm-cec7ce78d7fbf467aab075a3ce1fd128261b1a88.tar.bz2 llvm-cec7ce78d7fbf467aab075a3ce1fd128261b1a88.tar.xz |
DebugInfo: Remove some unneeded conditionals now that DIBuilder no longer emits zero-length arrays as {i32 0}
A bunch of test cases needed to be cleaned up for this, many my fault -
when implementid imported modules I updated test cases by simply
duplicating the prior metadata field - which wasn't always the empty
metadata entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/two-cus-from-same-file.ll')
-rw-r--r-- | test/DebugInfo/two-cus-from-same-file.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/two-cus-from-same-file.ll b/test/DebugInfo/two-cus-from-same-file.ll index 560bd00084..c4d663c5a3 100644 --- a/test/DebugInfo/two-cus-from-same-file.ll +++ b/test/DebugInfo/two-cus-from-same-file.ll @@ -36,7 +36,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone !llvm.module.flags = !{!33} !0 = metadata !{i32 786449, metadata !32, i32 12, metadata !"clang version 3.2 (trunk 156513)", i1 true, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] -!1 = metadata !{i32 0} +!1 = metadata !{} !3 = metadata !{metadata !5} !5 = metadata !{i32 786478, metadata !32, metadata !6, metadata !"foo", metadata !"foo", metadata !"", i32 5, metadata !7, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, void ()* @foo, null, null, metadata !1, i32 5} ; [ DW_TAG_subprogram ] !6 = metadata !{i32 786473, metadata !32} ; [ DW_TAG_file_type ] |