summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-static-member.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-12-16 01:01:40 +0000
committerAdrian Prantl <aprantl@apple.com>2016-12-16 01:01:40 +0000
commited4eb86531cece1417e794ee4f9394dbb7243d4e (patch)
treeebf232452faf95d328d29da649c93d6ed656ed4c /clang/test/CodeGenCXX/debug-info-static-member.cpp
parent26e8c7df3a9832faa3a93ef86246ce3a2bfd8f4c (diff)
downloadbcm5719-llvm-ed4eb86531cece1417e794ee4f9394dbb7243d4e.tar.gz
bcm5719-llvm-ed4eb86531cece1417e794ee4f9394dbb7243d4e.zip
Revert "Update for LLVM global variable debug info API change."
This reverts commit 289901 while investigating bot breakage. llvm-svn: 289908
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-static-member.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-static-member.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-static-member.cpp b/clang/test/CodeGenCXX/debug-info-static-member.cpp
index c777ccb2aba..d28c2ac865f 100644
--- a/clang/test/CodeGenCXX/debug-info-static-member.cpp
+++ b/clang/test/CodeGenCXX/debug-info-static-member.cpp
@@ -32,9 +32,7 @@ public:
// why the definition of "a" comes before the declarations while
// "b" and "c" come after.
-// CHECK: [[A]] = !DIGlobalVariableExpression(var: [[AV:.*]])
-// CHECK: [[AV]] = distinct !DIGlobalVariable(name: "a",
-// CHECK-SAME: declaration: ![[DECL_A:[0-9]+]])
+// CHECK: [[A]] = distinct !DIGlobalVariable(name: "a", {{.*}} declaration: ![[DECL_A:[0-9]+]])
//
// CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "X"{{.*}}, identifier: "_ZTS1X")
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "anon_static_decl_struct"
@@ -45,9 +43,7 @@ public:
// CHECK: !DIDerivedType(tag: DW_TAG_member, name: "static_decl_templ_var"
int C::a = 4;
-// CHECK: [[B]] = !DIGlobalVariableExpression(var: [[BV:.*]])
-// CHECK: [[BV]] = distinct !DIGlobalVariable(name: "b",
-// CHECK-SAME: declaration: ![[DECL_B:[0-9]+]])
+// CHECK: [[B]] = distinct !DIGlobalVariable(name: "b", {{.*}} declaration: ![[DECL_B:[0-9]+]])
// CHECK: ![[DECL_B]] = !DIDerivedType(tag: DW_TAG_member, name: "b"
// CHECK-NOT: size:
// CHECK-NOT: align:
@@ -93,8 +89,7 @@ int C::a = 4;
// CHECK-SAME: flags: DIFlagPublic | DIFlagStaticMember)
int C::b = 2;
-// CHECK: [[C]] = !DIGlobalVariableExpression(var: [[CV:.*]])
-// CHECK: [[CV]] = distinct !DIGlobalVariable(name: "c", {{.*}} declaration: ![[DECL_C]])
+// CHECK: [[C]] = distinct !DIGlobalVariable(name: "c", {{.*}} declaration: ![[DECL_C]])
int C::c = 1;
int main()
OpenPOWER on IntegriCloud