summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-11 15:53:44 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-11 15:53:44 +0000
commitb01a4d48ac4bdea983f43f5e0149aef9e689deef (patch)
tree2457fbbf3339c116ab752e248370d1ff8eba03b2 /llvm/test/DebugInfo/Generic
parent6b5f4d8ad1929e7dc0ac338c5c536c19352f4cbe (diff)
downloadbcm5719-llvm-b01a4d48ac4bdea983f43f5e0149aef9e689deef.tar.gz
bcm5719-llvm-b01a4d48ac4bdea983f43f5e0149aef9e689deef.zip
More upgrading of old- and very-old-style debug info in testcases.
llvm-svn: 265953
Diffstat (limited to 'llvm/test/DebugInfo/Generic')
-rw-r--r--llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll1
-rw-r--r--llvm/test/DebugInfo/Generic/inheritance.ll1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll b/llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll
index da2a1d52f86..6a56339e69b 100644
--- a/llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll
+++ b/llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll
@@ -9,6 +9,7 @@ entry:
ret void
}
+!llvm.dbg.cu = !{!3}
!0 = !DILocalVariable(name: "sy", line: 890, arg: 1, scope: !1, file: !2, type: !7)
!1 = distinct !DISubprogram(name: "foo", linkageName: "foo", line: 892, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, file: !8, scope: !3, type: !4)
!2 = !DIFile(filename: "qpainter.h", directory: "QtGui")
diff --git a/llvm/test/DebugInfo/Generic/inheritance.ll b/llvm/test/DebugInfo/Generic/inheritance.ll
index 2071368389e..b7cbf216330 100644
--- a/llvm/test/DebugInfo/Generic/inheritance.ll
+++ b/llvm/test/DebugInfo/Generic/inheritance.ll
@@ -105,6 +105,7 @@ return: ; preds = %bb2
declare void @_ZdlPv(i8*) nounwind
+!llvm.dbg.cu = !{!4}
!0 = !DILocalVariable(name: "tst", line: 13, scope: !1, file: !4, type: !8)
!1 = distinct !DILexicalBlock(line: 0, column: 0, file: !44, scope: !2)
!2 = distinct !DILexicalBlock(line: 0, column: 0, file: !44, scope: !3)
OpenPOWER on IntegriCloud