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 | 5e390e4df7db1ca76eaf2c31691cbb4b64963b61 (patch) | |
| tree | 5c3392414c97c774b05fbafd6e6b19a1f3060671 /llvm/test/DebugInfo/X86/generate-odr-hash.ll | |
| parent | e6bf06bbdcf80d6480584318675fedd46cc4d86e (diff) | |
| download | bcm5719-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/X86/generate-odr-hash.ll')
| -rw-r--r-- | llvm/test/DebugInfo/X86/generate-odr-hash.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/generate-odr-hash.ll b/llvm/test/DebugInfo/X86/generate-odr-hash.ll index 74c1699ef8b..ca9f6e11d0a 100644 --- a/llvm/test/DebugInfo/X86/generate-odr-hash.ll +++ b/llvm/test/DebugInfo/X86/generate-odr-hash.ll @@ -205,7 +205,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 !20, metadata !37, metadata !2, metadata !"bar.dwo"} ; [ DW_TAG_compile_unit ] [/tmp/dbginfo/bar.cpp] [DW_LANG_C_plus_plus] !1 = metadata !{metadata !"bar.cpp", metadata !"/tmp/dbginfo"} -!2 = metadata !{i32 0} +!2 = metadata !{} !3 = metadata !{metadata !4, metadata !5, metadata !13, metadata !16} !4 = metadata !{i32 786451, metadata !1, null, metadata !"bar", i32 1, i64 8, i64 8, i32 0, i32 0, null, metadata !2, i32 0, null, null, metadata !"_ZTS3bar"} ; [ DW_TAG_structure_type ] [bar] [line 1, size 8, align 8, offset 0] [def] [from ] !5 = metadata !{i32 786434, metadata !1, metadata !6, metadata !"fluffy", i32 13, i64 64, i64 32, i32 0, i32 0, null, metadata !9, i32 0, null, null, metadata !"_ZTSN7echidna8capybara8mongoose6fluffyE"} ; [ DW_TAG_class_type ] [fluffy] [line 13, size 64, align 32, offset 0] [def] [from ] |

