summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/2011-08-04-DebugLoc2.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-27 20:46:33 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-27 20:46:33 +0000
commit988a7f8b79923d8ef0e1501f22fbc38d513beb19 (patch)
tree8a669fae24d934a883a6271e4f38aa7321d863ff /llvm/test/Linker/2011-08-04-DebugLoc2.ll
parent91b959352c3415b88da3c2db281e67e7a1d9f569 (diff)
downloadbcm5719-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/Linker/2011-08-04-DebugLoc2.ll')
-rw-r--r--llvm/test/Linker/2011-08-04-DebugLoc2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Linker/2011-08-04-DebugLoc2.ll b/llvm/test/Linker/2011-08-04-DebugLoc2.ll
index 93eb61d06bc..76e73dde27a 100644
--- a/llvm/test/Linker/2011-08-04-DebugLoc2.ll
+++ b/llvm/test/Linker/2011-08-04-DebugLoc2.ll
@@ -23,6 +23,6 @@ define i32 @bar() nounwind ssp {
!6 = !MDLocation(line: 1, column: 13, scope: !7)
!7 = distinct !MDLexicalBlock(line: 1, column: 11, file: !8, scope: !1)
!8 = !MDFile(filename: "b.c", directory: "/private/tmp")
-!9 = !{i32 0}
+!9 = !{}
!10 = !{!1}
!11 = !{i32 1, !"Debug Info Version", i32 3}
OpenPOWER on IntegriCloud