diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-29 16:40:08 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-29 16:40:08 +0000 |
commit | 062dd42436d2a4cd9cb3f2391f3fd5f27e84c367 (patch) | |
tree | 7dab66f08ada787a54a18a4855d4bd00ca82700c /test/CodeGenObjCXX | |
parent | b4843e4f6cdcdbf35620e447305b7e0286f63640 (diff) | |
download | clang-062dd42436d2a4cd9cb3f2391f3fd5f27e84c367.tar.gz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
-rw-r--r-- | test/CodeGenObjCXX/debug-info-cyclic.mm | 8 | ||||
-rw-r--r-- | test/CodeGenObjCXX/debug-info-line.mm | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGenObjCXX/debug-info-cyclic.mm b/test/CodeGenObjCXX/debug-info-cyclic.mm index fdae22b511..8983fe5112 100644 --- a/test/CodeGenObjCXX/debug-info-cyclic.mm +++ b/test/CodeGenObjCXX/debug-info-cyclic.mm @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin -g -emit-llvm %s -o - | FileCheck %s struct B { -// CHECK: ![[B:[0-9]+]] = !MDCompositeType(tag: DW_TAG_structure_type, name: "B" +// CHECK: ![[B:[0-9]+]] = !DICompositeType(tag: DW_TAG_structure_type, name: "B" // CHECK-SAME: line: [[@LINE-2]], // CHECK-SAME: size: 8, align: 8, // CHECK-NOT: offset: @@ -9,12 +9,12 @@ struct B { // CHECK-SAME: elements: ![[BMEMBERS:[0-9]+]] // CHECK: ![[BMEMBERS]] = !{![[BB:[0-9]+]]} B(struct A *); -// CHECK: ![[BB]] = !MDSubprogram(name: "B", scope: ![[B]] +// CHECK: ![[BB]] = !DISubprogram(name: "B", scope: ![[B]] // CHECK-SAME: line: [[@LINE-2]], // CHECK-SAME: type: ![[TY:[0-9]+]], -// CHECK: ![[TY]] = !MDSubroutineType(types: ![[ARGS:[0-9]+]]) +// CHECK: ![[TY]] = !DISubroutineType(types: ![[ARGS:[0-9]+]]) // CHECK: ![[ARGS]] = !{null, ![[THIS:[0-9]+]], !{{[^,]+}}} -// CHECK: ![[THIS]] = !MDDerivedType(tag: DW_TAG_pointer_type, +// CHECK: ![[THIS]] = !DIDerivedType(tag: DW_TAG_pointer_type, // CHECK-SAME: baseType: ![[B]] }; diff --git a/test/CodeGenObjCXX/debug-info-line.mm b/test/CodeGenObjCXX/debug-info-line.mm index 4c934f1207..a7d6a15599 100644 --- a/test/CodeGenObjCXX/debug-info-line.mm +++ b/test/CodeGenObjCXX/debug-info-line.mm @@ -26,5 +26,5 @@ void f1() { } @end -// CHECK: [[DBG_F1]] = !MDLocation(line: 100, -// CHECK: [[DBG_TNSO]] = !MDLocation(line: 200, +// CHECK: [[DBG_F1]] = !DILocation(line: 100, +// CHECK: [[DBG_TNSO]] = !DILocation(line: 200, |