summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/debug-info-blocks.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
commitcec7ce78d7fbf467aab075a3ce1fd128261b1a88 (patch)
tree2d4caac78fa8f074aa95ef77ca6d9512e4acfb48 /test/DebugInfo/X86/debug-info-blocks.ll
parentee3a79a1e482e4bef1ebca525ec586dd2d4a69e2 (diff)
downloadllvm-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/debug-info-blocks.ll')
-rw-r--r--test/DebugInfo/X86/debug-info-blocks.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/debug-info-blocks.ll b/test/DebugInfo/X86/debug-info-blocks.ll
index c3bedf2b26..9daeceeb77 100644
--- a/test/DebugInfo/X86/debug-info-blocks.ll
+++ b/test/DebugInfo/X86/debug-info-blocks.ll
@@ -264,7 +264,7 @@ attributes #3 = { nounwind }
!0 = metadata !{i32 786449, metadata !1, i32 16, metadata !"clang version 3.3 ", i1 false, metadata !"", i32 2, metadata !2, metadata !3, metadata !12, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [llvm/tools/clang/test/CodeGenObjC/<unknown>] [DW_LANG_ObjC]
!1 = metadata !{metadata !"llvm/tools/clang/test/CodeGenObjC/<unknown>", metadata !"llvm/_build.ninja.Debug"}
-!2 = metadata !{i32 0}
+!2 = metadata !{}
!3 = metadata !{metadata !4}
!4 = metadata !{i32 786451, metadata !5, metadata !6, metadata !"A", i32 33, i64 32, i64 32, i32 0, i32 512, null, metadata !7, i32 16, null, null, null} ; [ DW_TAG_structure_type ] [A] [line 33, size 32, align 32, offset 0] [def] [from ]
!5 = metadata !{metadata !"llvm/tools/clang/test/CodeGenObjC/debug-info-blocks.m", metadata !"llvm/_build.ninja.Debug"}