summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/enum.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-02-04 01:23:52 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-02-04 01:23:52 +0000
commit5e390e4df7db1ca76eaf2c31691cbb4b64963b61 (patch)
tree5c3392414c97c774b05fbafd6e6b19a1f3060671 /llvm/test/DebugInfo/enum.ll
parente6bf06bbdcf80d6480584318675fedd46cc4d86e (diff)
downloadbcm5719-llvm-5e390e4df7db1ca76eaf2c31691cbb4b64963b61.tar.gz
bcm5719-llvm-5e390e4df7db1ca76eaf2c31691cbb4b64963b61.zip
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. llvm-svn: 200731
Diffstat (limited to 'llvm/test/DebugInfo/enum.ll')
-rw-r--r--llvm/test/DebugInfo/enum.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/enum.ll b/llvm/test/DebugInfo/enum.ll
index 3796fb4afbe..df097a6ea92 100644
--- a/llvm/test/DebugInfo/enum.ll
+++ b/llvm/test/DebugInfo/enum.ll
@@ -64,7 +64,7 @@ attributes #1 = { nounwind readnone }
!8 = metadata !{i32 786436, metadata !1, null, metadata !"e2", i32 2, i64 32, i64 32, i32 0, i32 0, null, metadata !9, i32 0, null, null, null} ; [ DW_TAG_enumeration_type ] [e2] [line 2, size 32, align 32, offset 0] [def] [from ]
!9 = metadata !{metadata !10}
!10 = metadata !{i32 786472, metadata !"X", i64 0} ; [ DW_TAG_enumerator ] [X :: 0]
-!11 = metadata !{i32 0}
+!11 = metadata !{}
!12 = metadata !{metadata !13}
!13 = metadata !{i32 786478, metadata !1, metadata !14, metadata !"func", metadata !"func", metadata !"_Z4funcv", i32 3, metadata !15, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void ()* @_Z4funcv, null, null, metadata !11, i32 3} ; [ DW_TAG_subprogram ] [line 3] [def] [func]
!14 = metadata !{i32 786473, metadata !1} ; [ DW_TAG_file_type ] [/tmp/enum.cpp]
OpenPOWER on IntegriCloud