From 5e390e4df7db1ca76eaf2c31691cbb4b64963b61 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 4 Feb 2014 01:23:52 +0000 Subject: 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 --- llvm/test/CodeGen/X86/dwarf-comp-dir.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/CodeGen/X86/dwarf-comp-dir.ll') diff --git a/llvm/test/CodeGen/X86/dwarf-comp-dir.ll b/llvm/test/CodeGen/X86/dwarf-comp-dir.ll index 3b4a8689060..ee2fa07becb 100644 --- a/llvm/test/CodeGen/X86/dwarf-comp-dir.ll +++ b/llvm/test/CodeGen/X86/dwarf-comp-dir.ll @@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gnu" !llvm.module.flags = !{!5} !0 = metadata !{i32 720913, metadata !4, i32 12, metadata !"clang version 3.1 (trunk 143523)", i1 true, metadata !"", i32 0, metadata !2, metadata !2, metadata !2, metadata !2, null, metadata !""} ; [ DW_TAG_compile_unit ] -!2 = metadata !{i32 0} +!2 = metadata !{} !3 = metadata !{i32 786473, metadata !4} ; [ DW_TAG_file_type ] !4 = metadata !{metadata !"empty.c", metadata !"/home/nlewycky"} -- cgit v1.2.3