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/CodeGenCXX/debug-info-qualifiers.cpp | |
parent | b4843e4f6cdcdbf35620e447305b7e0286f63640 (diff) |
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/CodeGenCXX/debug-info-qualifiers.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-qualifiers.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGenCXX/debug-info-qualifiers.cpp b/test/CodeGenCXX/debug-info-qualifiers.cpp index 8d3394cc46..9458e1f825 100644 --- a/test/CodeGenCXX/debug-info-qualifiers.cpp +++ b/test/CodeGenCXX/debug-info-qualifiers.cpp @@ -2,35 +2,35 @@ // Test (r)value and CVR qualifiers on C++11 non-static member functions. class A { public: - // CHECK: !MDSubprogram(name: "l", + // CHECK: !DISubprogram(name: "l", // CHECK-SAME: line: [[@LINE+4]] // CHECK-SAME: type: ![[PLSR:[0-9]+]] // CHECK-SAME: flags: DIFlagPublic | DIFlagPrototyped | DIFlagLValueReference, - // CHECK: ![[PLSR]] = !MDSubroutineType(flags: DIFlagLValueReference, types: ![[ARGS:[0-9]+]]) + // CHECK: ![[PLSR]] = !DISubroutineType(flags: DIFlagLValueReference, types: ![[ARGS:[0-9]+]]) void l() const &; // CHECK: ![[ARGS]] = !{null, ![[THIS:[0-9]+]]} - // CHECK: ![[THIS]] = !MDDerivedType(tag: DW_TAG_pointer_type, baseType: ![[CONST_A:[0-9]+]] - // CHECK: ![[CONST_A]] = !MDDerivedType(tag: DW_TAG_const_type - // CHECK: !MDSubprogram(name: "r" + // CHECK: ![[THIS]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[CONST_A:[0-9]+]] + // CHECK: ![[CONST_A]] = !DIDerivedType(tag: DW_TAG_const_type + // CHECK: !DISubprogram(name: "r" // CHECK-SAME: line: [[@LINE+4]] // CHECK-SAME: type: ![[PRSR:[0-9]+]] // CHECK-SAME: flags: DIFlagPublic | DIFlagPrototyped | DIFlagRValueReference, - // CHECK: ![[PRSR]] = !MDSubroutineType(flags: DIFlagRValueReference, types: ![[ARGS]]) + // CHECK: ![[PRSR]] = !DISubroutineType(flags: DIFlagRValueReference, types: ![[ARGS]]) void r() const &&; }; void g() { A a; // The type of pl is "void (A::*)() const &". - // CHECK: !MDLocalVariable(tag: DW_TAG_auto_variable, name: "pl", + // CHECK: !DILocalVariable(tag: DW_TAG_auto_variable, name: "pl", // CHECK-SAME: line: [[@LINE+3]] // CHECK-SAME: type: ![[PL:[0-9]+]] - // CHECK: !MDDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PLSR]] + // CHECK: !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PLSR]] auto pl = &A::l; - // CHECK: !MDLocalVariable(tag: DW_TAG_auto_variable, name: "pr", + // CHECK: !DILocalVariable(tag: DW_TAG_auto_variable, name: "pr", // CHECK-SAME: line: [[@LINE+3]] // CHECK-SAME: type: ![[PR:[0-9]+]] - // CHECK: !MDDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PRSR]] + // CHECK: !DIDerivedType(tag: DW_TAG_ptr_to_member_type, baseType: ![[PRSR]] auto pr = &A::r; } |