summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-vla.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-29 16:40:08 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-29 16:40:08 +0000
commit9dd4e4e63a53813ba519281ec5c35e678b837d5d (patch)
tree9abf46c1f266ce303f8037a93dadb1bee9685258 /clang/test/CodeGen/debug-info-vla.c
parenta9308c49ef421d5fa6c990bc8cbdf500acbffd33 (diff)
downloadbcm5719-llvm-9dd4e4e63a53813ba519281ec5c35e678b837d5d.tar.gz
bcm5719-llvm-9dd4e4e63a53813ba519281ec5c35e678b837d5d.zip
DebugInfo: Metadata constructs now start with DI*
LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
Diffstat (limited to 'clang/test/CodeGen/debug-info-vla.c')
-rw-r--r--clang/test/CodeGen/debug-info-vla.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/debug-info-vla.c b/clang/test/CodeGen/debug-info-vla.c
index d58dc918c76..175c24cfb9d 100644
--- a/clang/test/CodeGen/debug-info-vla.c
+++ b/clang/test/CodeGen/debug-info-vla.c
@@ -4,8 +4,8 @@ void testVLAwithSize(int s)
{
// CHECK: dbg.declare
// CHECK: dbg.declare({{.*}}, metadata ![[VAR:.*]], metadata ![[EXPR:.*]])
-// CHECK: ![[VAR]] = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "vla",{{.*}} line: [[@LINE+2]]
-// CHECK: ![[EXPR]] = !MDExpression(DW_OP_deref)
+// CHECK: ![[VAR]] = !DILocalVariable(tag: DW_TAG_auto_variable, name: "vla",{{.*}} line: [[@LINE+2]]
+// CHECK: ![[EXPR]] = !DIExpression(DW_OP_deref)
int vla[s];
int i;
for (i = 0; i < s; i++) {
OpenPOWER on IntegriCloud