summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/tu-composite.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/tu-composite.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/tu-composite.ll')
-rw-r--r--llvm/test/DebugInfo/tu-composite.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/tu-composite.ll b/llvm/test/DebugInfo/tu-composite.ll
index 50876f79e1c..7a8ff571265 100644
--- a/llvm/test/DebugInfo/tu-composite.ll
+++ b/llvm/test/DebugInfo/tu-composite.ll
@@ -125,7 +125,7 @@ attributes #1 = { nounwind readnone }
!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.4", i1 false, metadata !"", i32 0, metadata !2, metadata !3, metadata !30, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [tmp.cpp] [DW_LANG_C_plus_plus]
!1 = metadata !{metadata !"tmp.cpp", metadata !"."}
-!2 = metadata !{i32 0}
+!2 = metadata !{}
!3 = metadata !{metadata !4, metadata !18, metadata !19, metadata !22, metadata !23, metadata !24}
!4 = metadata !{i32 786451, metadata !1, null, metadata !"C", i32 1, i64 64, i64 64, i32 0, i32 0, null, metadata !5, i32 0, metadata !"_ZTS1C", null, metadata !"_ZTS1C"} ; [ DW_TAG_structure_type ] [C] [line 1, size 64, align 64, offset 0] [def] [from ]
!5 = metadata !{metadata !6, metadata !13}
OpenPOWER on IntegriCloud