summaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-enum.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-03 20:01:52 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-03 20:01:52 +0000
commit7f5bedf36f8596621b91780207f53ef8d91e18f0 (patch)
tree73c7671c8b69be8bec914cd0c5091c44e8748cd7 /test/CodeGen/debug-info-enum.c
parent71dc046d3ca780cf946bb557fefc45e3f26c3b80 (diff)
downloadclang-7f5bedf36f8596621b91780207f53ef8d91e18f0.tar.gz
Revert "Revert "DI: LLVM schema change: fold constants into string""
This reverts commit r218917, effectively reapplying r218913. Original commit message follows. -- Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/debug-info-enum.c')
-rw-r--r--test/CodeGen/debug-info-enum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/debug-info-enum.c b/test/CodeGen/debug-info-enum.c
index acf3f52408..d4349eaee4 100644
--- a/test/CodeGen/debug-info-enum.c
+++ b/test/CodeGen/debug-info-enum.c
@@ -1,8 +1,8 @@
// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
-// CHECK: metadata [[TEST3_ENUMS:![0-9]*]], {{[^,]*}}, null, null, null} ; [ DW_TAG_enumeration_type ] [e]
+// CHECK: metadata [[TEST3_ENUMS:![0-9]*]], null, null, null} ; [ DW_TAG_enumeration_type ] [e]
// CHECK: [[TEST3_ENUMS]] = metadata !{metadata [[TEST3_E:![0-9]*]]}
-// CHECK: [[TEST3_E]] = {{.*}}, metadata !"E", i64 -1} ; [ DW_TAG_enumerator ] [E :: -1]
+// CHECK: [[TEST3_E]] = metadata !{metadata !"0x28\00E\00-1"} ; [ DW_TAG_enumerator ] [E :: -1]
enum e;
void func(enum e *p) {