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/CodeGen/Inputs | |
| 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/CodeGen/Inputs')
| -rw-r--r-- | llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll b/llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll index fc44a980cb9..0af0293e568 100644 --- a/llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll +++ b/llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll @@ -20,7 +20,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnon !3 = !MDSubroutineType(types: !4) !4 = !{!5} !5 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) -!6 = !{i32 0} +!6 = !{} !7 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "i", line: 3, scope: !8, file: !1, type: !5) !8 = distinct !MDLexicalBlock(line: 2, column: 12, file: !12, scope: !0) !9 = !MDLocation(line: 3, column: 11, scope: !8) |

