summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-enum.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-03 17:25:55 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-03 17:25:55 +0000
commitf04be1fb3a9f4b8a7591824d6985556ac578e3cf (patch)
tree67c831ea44725cbc04fa0a14fbebea1f1f7aea56 /clang/test/CodeGen/debug-info-enum.c
parente274180f0efb5ff3358cf6076846b4cb326b2ed7 (diff)
downloadbcm5719-llvm-f04be1fb3a9f4b8a7591824d6985556ac578e3cf.tar.gz
bcm5719-llvm-f04be1fb3a9f4b8a7591824d6985556ac578e3cf.zip
DebugInfo: Move new hierarchy into place (clang)
Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
Diffstat (limited to 'clang/test/CodeGen/debug-info-enum.c')
-rw-r--r--clang/test/CodeGen/debug-info-enum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGen/debug-info-enum.c b/clang/test/CodeGen/debug-info-enum.c
index 1f6b384d852..e32c7313ee2 100644
--- a/clang/test/CodeGen/debug-info-enum.c
+++ b/clang/test/CodeGen/debug-info-enum.c
@@ -1,8 +1,9 @@
// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
-// CHECK: [[TEST3_ENUMS:![0-9]*]], null, null, null} ; [ DW_TAG_enumeration_type ] [e]
+// CHECK: !MDCompositeType(tag: DW_TAG_enumeration_type, name: "e"
+// CHECK-SAME: elements: [[TEST3_ENUMS:![0-9]*]]
// CHECK: [[TEST3_ENUMS]] = !{[[TEST3_E:![0-9]*]]}
-// CHECK: [[TEST3_E]] = !{!"0x28\00E\00-1"} ; [ DW_TAG_enumerator ] [E :: -1]
+// CHECK: [[TEST3_E]] = !MDEnumerator(name: "E", value: -1)
enum e;
void func(enum e *p) {
OpenPOWER on IntegriCloud