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 | 9dd4e4e63a53813ba519281ec5c35e678b837d5d (patch) | |
tree | 9abf46c1f266ce303f8037a93dadb1bee9685258 /clang/test/CodeGenCXX/debug-info-enum.cpp | |
parent | a9308c49ef421d5fa6c990bc8cbdf500acbffd33 (diff) | |
download | bcm5719-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/CodeGenCXX/debug-info-enum.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-enum.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-enum.cpp b/clang/test/CodeGenCXX/debug-info-enum.cpp index 4ba832870d1..613ffef7ddb 100644 --- a/clang/test/CodeGenCXX/debug-info-enum.cpp +++ b/clang/test/CodeGenCXX/debug-info-enum.cpp @@ -1,17 +1,17 @@ // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -g %s -o - | FileCheck %s -// CHECK: !MDCompileUnit( +// CHECK: !DICompileUnit( // CHECK-SAME: enums: [[ENUMS:![0-9]*]] // CHECK: [[ENUMS]] = !{[[E1:![0-9]*]], [[E2:![0-9]*]], [[E3:![0-9]*]]} namespace test1 { -// CHECK: [[E1]] = !MDCompositeType(tag: DW_TAG_enumeration_type, name: "e" +// CHECK: [[E1]] = !DICompositeType(tag: DW_TAG_enumeration_type, name: "e" // CHECK-SAME: scope: [[TEST1:![0-9]*]] // CHECK-SAME: elements: [[TEST1_ENUMS:![0-9]*]] // CHECK-SAME: identifier: "_ZTSN5test11eE" -// CHECK: [[TEST1]] = !MDNamespace(name: "test1" +// CHECK: [[TEST1]] = !DINamespace(name: "test1" // CHECK: [[TEST1_ENUMS]] = !{[[TEST1_E:![0-9]*]]} -// CHECK: [[TEST1_E]] = !MDEnumerator(name: "E", value: 0) +// CHECK: [[TEST1_E]] = !DIEnumerator(name: "E", value: 0) enum e { E }; void foo() { int v = E; @@ -20,11 +20,11 @@ void foo() { namespace test2 { // rdar://8195980 -// CHECK: [[E2]] = !MDCompositeType(tag: DW_TAG_enumeration_type, name: "e" +// CHECK: [[E2]] = !DICompositeType(tag: DW_TAG_enumeration_type, name: "e" // CHECK-SAME: scope: [[TEST2:![0-9]+]] // CHECK-SAME: elements: [[TEST1_ENUMS]] // CHECK-SAME: identifier: "_ZTSN5test21eE" -// CHECK: [[TEST2]] = !MDNamespace(name: "test2" +// CHECK: [[TEST2]] = !DINamespace(name: "test2" enum e { E }; bool func(int i) { return i == E; @@ -32,13 +32,13 @@ bool func(int i) { } namespace test3 { -// CHECK: [[E3]] = !MDCompositeType(tag: DW_TAG_enumeration_type, name: "e" +// CHECK: [[E3]] = !DICompositeType(tag: DW_TAG_enumeration_type, name: "e" // CHECK-SAME: scope: [[TEST3:![0-9]*]] // CHECK-SAME: elements: [[TEST3_ENUMS:![0-9]*]] // CHECK-SAME: identifier: "_ZTSN5test31eE" -// CHECK: [[TEST3]] = !MDNamespace(name: "test3" +// CHECK: [[TEST3]] = !DINamespace(name: "test3" // CHECK: [[TEST3_ENUMS]] = !{[[TEST3_E:![0-9]*]]} -// CHECK: [[TEST3_E]] = !MDEnumerator(name: "E", value: -1) +// CHECK: [[TEST3_E]] = !DIEnumerator(name: "E", value: -1) enum e { E = -1 }; void func() { e x; |