diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-15 19:10:08 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-15 19:10:08 +0000 |
commit | b3a66691f85944f8fa3399674d0882590bdcbcd3 (patch) | |
tree | 43f47c9a9ce233299866d90f25158abcabc103e0 /clang/test/CodeGenCXX/debug-info-enum-class.cpp | |
parent | fcbc3cdf3c2cc9593d1ff2ba4823608e51dff74c (diff) | |
download | bcm5719-llvm-b3a66691f85944f8fa3399674d0882590bdcbcd3.tar.gz bcm5719-llvm-b3a66691f85944f8fa3399674d0882590bdcbcd3.zip |
IR: Make metadata typeless in assembly, clang side
Match LLVM changes from r224257.
llvm-svn: 224259
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-enum-class.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-enum-class.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-enum-class.cpp b/clang/test/CodeGenCXX/debug-info-enum-class.cpp index cfa9611df82..28ffce046c0 100644 --- a/clang/test/CodeGenCXX/debug-info-enum-class.cpp +++ b/clang/test/CodeGenCXX/debug-info-enum-class.cpp @@ -29,10 +29,10 @@ namespace PR14029 { namespace test2 { // FIXME: this should just be a declaration under -fno-standalone-debug -// CHECK: metadata !{metadata !"0x4\00{{.*}}", {{[^,]*}}, metadata [[TEST2:![0-9]*]], {{.*}}, metadata [[TEST_ENUMS:![0-9]*]], null, null, metadata !"_ZTSN5test21EE"} ; [ DW_TAG_enumeration_type ] [E] +// CHECK: !"0x4\00{{.*}}", {{[^,]*}}, [[TEST2:![0-9]*]], {{.*}}, [[TEST_ENUMS:![0-9]*]], null, null, !"_ZTSN5test21EE"} ; [ DW_TAG_enumeration_type ] [E] // CHECK: [[TEST2]] = {{.*}} ; [ DW_TAG_namespace ] [test2] -// CHECK: [[TEST_ENUMS]] = metadata !{metadata [[TEST_E:![0-9]*]]} -// CHECK: [[TEST_E]] = metadata !{metadata !"0x28\00e\000"} ; [ DW_TAG_enumerator ] [e :: 0] +// CHECK: [[TEST_ENUMS]] = !{[[TEST_E:![0-9]*]]} +// CHECK: [[TEST_E]] = !{!"0x28\00e\000"} ; [ DW_TAG_enumerator ] [e :: 0] enum E : int; void func(E *) { } @@ -41,7 +41,7 @@ enum E : int { e }; namespace test3 { // FIXME: this should just be a declaration under -fno-standalone-debug -// CHECK: metadata !{metadata !"0x4\00{{.*}}", {{[^,]*}}, metadata [[TEST3:![0-9]*]], {{.*}}, metadata [[TEST_ENUMS]], null, null, metadata !"_ZTSN5test31EE"} ; [ DW_TAG_enumeration_type ] [E] +// CHECK: !"0x4\00{{.*}}", {{[^,]*}}, [[TEST3:![0-9]*]], {{.*}}, [[TEST_ENUMS]], null, null, !"_ZTSN5test31EE"} ; [ DW_TAG_enumeration_type ] [E] // CHECK: [[TEST3]] = {{.*}} ; [ DW_TAG_namespace ] [test3] enum E : int { e }; void func(E *) { @@ -49,7 +49,7 @@ void func(E *) { } namespace test4 { -// CHECK: metadata !{metadata !"0x4\00{{.*}}", {{[^,]*}}, metadata [[TEST4:![0-9]*]], {{.*}}, metadata [[TEST_ENUMS]], null, null, metadata !"_ZTSN5test41EE"} ; [ DW_TAG_enumeration_type ] [E] +// CHECK: !"0x4\00{{.*}}", {{[^,]*}}, [[TEST4:![0-9]*]], {{.*}}, [[TEST_ENUMS]], null, null, !"_ZTSN5test41EE"} ; [ DW_TAG_enumeration_type ] [E] // CHECK: [[TEST4]] = {{.*}} ; [ DW_TAG_namespace ] [test4] enum E : int; void f1(E *) { @@ -62,7 +62,7 @@ void f2(E) { // CHECK: ; [ DW_TAG_enumeration_type ] [D] [line 6, size 16, align 16, offset 0] [decl] [from ] namespace test5 { -// CHECK: metadata !{metadata !"0x4\00{{.*}}", {{[^,]*}}, metadata [[TEST5:![0-9]*]], {{.*}}, null, null, null, metadata !"_ZTSN5test51EE"} ; [ DW_TAG_enumeration_type ] [E] +// CHECK: !"0x4\00{{.*}}", {{[^,]*}}, [[TEST5:![0-9]*]], {{.*}}, null, null, null, !"_ZTSN5test51EE"} ; [ DW_TAG_enumeration_type ] [E] // CHECK: [[TEST5]] = {{.*}} ; [ DW_TAG_namespace ] [test5] enum E : int; void f1(E *) { |