IR: Give 'DI' prefix to debug info metadata
[oota-llvm.git] / test / Verifier / dbg.ll
index 3cff1e0515767d3c0f3e7d1f3a826b49acfa01b1..395806b1299aaae1a3b4e81ca13b98ebd49154e5 100644 (file)
@@ -2,9 +2,9 @@
 
 define void @foo() {
 entry:
-  br label %exit, !dbg !MDLocation(scope: !MDSubprogram(), inlinedAt: !{})
+  br label %exit, !dbg !DILocation(scope: !DISubprogram(), inlinedAt: !{})
 ; CHECK: inlined-at should be a location
-; CHECK-NEXT: !{{[0-9]+}} = !MDLocation(line: 0, scope: !{{[0-9]+}}, inlinedAt: ![[IA:[0-9]+]])
+; CHECK-NEXT: !{{[0-9]+}} = !DILocation(line: 0, scope: !{{[0-9]+}}, inlinedAt: ![[IA:[0-9]+]])
 ; CHECK-NEXT: ![[IA]] = !{}
 
 exit: