diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-27 20:46:33 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-27 20:46:33 +0000 |
commit | 988a7f8b79923d8ef0e1501f22fbc38d513beb19 (patch) | |
tree | 8a669fae24d934a883a6271e4f38aa7321d863ff /llvm/test/DebugInfo/SystemZ/variable-loc.ll | |
parent | 91b959352c3415b88da3c2db281e67e7a1d9f569 (diff) | |
download | bcm5719-llvm-988a7f8b79923d8ef0e1501f22fbc38d513beb19.tar.gz bcm5719-llvm-988a7f8b79923d8ef0e1501f22fbc38d513beb19.zip |
DebugInfo: Fix bad debug info for compile units and types
Fix debug info in these tests, which started failing with a WIP patch to
verify compile units and types. The problems look like they were all
caused by bitrot. They fell into these categories:
- Using `!{i32 0}` instead of `!{}`.
- Using `!{null}` instead of `!{}`.
- Using `!MDExpression()` instead of `!{}`.
- Using `!8` instead of `!{!8}`.
- `file:` references that pointed at `MDCompileUnit`s instead of the
same `MDFile` as the compile unit.
- `file:` references that were numerically off-by-one or (off-by-ten).
llvm-svn: 233415
Diffstat (limited to 'llvm/test/DebugInfo/SystemZ/variable-loc.ll')
-rw-r--r-- | llvm/test/DebugInfo/SystemZ/variable-loc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/SystemZ/variable-loc.ll b/llvm/test/DebugInfo/SystemZ/variable-loc.ll index 686380ac607..620afe5fb32 100644 --- a/llvm/test/DebugInfo/SystemZ/variable-loc.ll +++ b/llvm/test/DebugInfo/SystemZ/variable-loc.ll @@ -69,7 +69,7 @@ declare i32 @printf(i8*, ...) !16 = !{!10} !17 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "main_arr", line: 19, scope: !18, file: !6, type: !19) !18 = distinct !MDLexicalBlock(line: 18, column: 16, file: !29, scope: !14) -!19 = !MDCompositeType(tag: DW_TAG_array_type, size: 3200, align: 32, baseType: !10, elements: !20) +!19 = !MDCompositeType(tag: DW_TAG_array_type, size: 3200, align: 32, baseType: !10, elements: !{!20}) !20 = !MDSubrange(count: 99) !22 = !MDLocation(line: 19, column: 7, scope: !18) !23 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "val", line: 20, scope: !18, file: !6, type: !10) |