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-enum-class.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-enum-class.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-enum-class.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/CodeGenCXX/debug-info-enum-class.cpp b/test/CodeGenCXX/debug-info-enum-class.cpp index 61b502e40d..ded18bffe3 100644 --- a/test/CodeGenCXX/debug-info-enum-class.cpp +++ b/test/CodeGenCXX/debug-info-enum-class.cpp @@ -9,23 +9,23 @@ B b; C c; D d; -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "A" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "A" // CHECK-SAME: line: 3 // CHECK-SAME: baseType: ![[INT:[0-9]+]] // CHECK-SAME: size: 32, align: 32 // CHECK-NOT: offset: // CHECK-NOT: flags: // CHECK-SAME: ){{$}} -// CHECK: ![[INT]] = !MDBasicType(name: "int" -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "B" +// CHECK: ![[INT]] = !DIBasicType(name: "int" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "B" // CHECK-SAME: line: 4 // CHECK-SAME: baseType: ![[ULONG:[0-9]+]] // CHECK-SAME: size: 64, align: 64 // CHECK-NOT: offset: // CHECK-NOT: flags: // CHECK-SAME: ){{$}} -// CHECK: ![[ULONG]] = !MDBasicType(name: "long unsigned int" -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "C" +// CHECK: ![[ULONG]] = !DIBasicType(name: "long unsigned int" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "C" // CHECK-SAME: line: 5 // CHECK-NOT: baseType: // CHECK-SAME: size: 32, align: 32 @@ -49,13 +49,13 @@ namespace PR14029 { namespace test2 { // FIXME: this should just be a declaration under -fno-standalone-debug -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "E" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "E" // CHECK-SAME: scope: [[TEST2:![0-9]+]] // CHECK-SAME: elements: [[TEST_ENUMS:![0-9]+]] // CHECK-SAME: identifier: "_ZTSN5test21EE" -// CHECK: [[TEST2]] = !MDNamespace(name: "test2" +// CHECK: [[TEST2]] = !DINamespace(name: "test2" // CHECK: [[TEST_ENUMS]] = !{[[TEST_E:![0-9]*]]} -// CHECK: [[TEST_E]] = !MDEnumerator(name: "e", value: 0) +// CHECK: [[TEST_E]] = !DIEnumerator(name: "e", value: 0) enum E : int; void func(E *) { } @@ -64,22 +64,22 @@ enum E : int { e }; namespace test3 { // FIXME: this should just be a declaration under -fno-standalone-debug -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "E" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "E" // CHECK-SAME: scope: [[TEST3:![0-9]+]] // CHECK-SAME: elements: [[TEST_ENUMS]] // CHECK-SAME: identifier: "_ZTSN5test31EE" -// CHECK: [[TEST3]] = !MDNamespace(name: "test3" +// CHECK: [[TEST3]] = !DINamespace(name: "test3" enum E : int { e }; void func(E *) { } } namespace test4 { -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "E" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "E" // CHECK-SAME: scope: [[TEST4:![0-9]+]] // CHECK-SAME: elements: [[TEST_ENUMS]] // CHECK-SAME: identifier: "_ZTSN5test41EE" -// CHECK: [[TEST4]] = !MDNamespace(name: "test4" +// CHECK: [[TEST4]] = !DINamespace(name: "test4" enum E : int; void f1(E *) { } @@ -88,18 +88,18 @@ void f2(E) { } } -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "D" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "D" // CHECK-SAME: line: 6 // CHECK-SAME: size: 16, align: 16 // CHECK-NOT: offset: // CHECK-SAME: flags: DIFlagFwdDecl namespace test5 { -// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "E" +// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "E" // CHECK-SAME: scope: [[TEST5:![0-9]+]] // CHECK-SAME: flags: DIFlagFwdDecl // CHECK-SAME: identifier: "_ZTSN5test51EE" -// CHECK: [[TEST5]] = !MDNamespace(name: "test5" +// CHECK: [[TEST5]] = !DINamespace(name: "test5" enum E : int; void f1(E *) { } |