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/X86/2011-12-16-BadStructRef.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/X86/2011-12-16-BadStructRef.ll')
-rw-r--r-- | test/DebugInfo/X86/2011-12-16-BadStructRef.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/2011-12-16-BadStructRef.ll b/test/DebugInfo/X86/2011-12-16-BadStructRef.ll index 5e6a6014d6..8898cf1f30 100644 --- a/test/DebugInfo/X86/2011-12-16-BadStructRef.ll +++ b/test/DebugInfo/X86/2011-12-16-BadStructRef.ll @@ -90,7 +90,7 @@ entry: !llvm.module.flags = !{!83} !0 = metadata !{i32 720913, metadata !82, i32 4, metadata !"clang version 3.1 (trunk 146596)", i1 false, metadata !"", i32 0, metadata !1, metadata !3, metadata !27, metadata !1, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ] -!1 = metadata !{i32 0} +!1 = metadata !{} !3 = metadata !{metadata !5, metadata !9} !5 = metadata !{i32 720898, metadata !82, null, metadata !"bar", i32 9, i64 128, i64 64, i32 0, i32 0, null, metadata !7, i32 0, null, null, null} ; [ DW_TAG_class_type ] [bar] [line 9, size 128, align 64, offset 0] [def] [from ] !6 = metadata !{i32 720937, metadata !82} ; [ DW_TAG_file_type ] |