summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-atomic.c
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-12-16 19:39:18 +0000
committerAdrian Prantl <aprantl@apple.com>2016-12-16 19:39:18 +0000
commite34d9bc8afa92a1876c4071eada4332b3c686347 (patch)
treeb415120faa7057b3f127c23d830da8346c08cf2f /clang/test/CodeGen/debug-info-atomic.c
parent80d13b4545bc4ede92e01d9d208fdb4f70dc1179 (diff)
downloadbcm5719-llvm-e34d9bc8afa92a1876c4071eada4332b3c686347.tar.gz
bcm5719-llvm-e34d9bc8afa92a1876c4071eada4332b3c686347.zip
Revert "Update for LLVM global variable debug info API change."
This reverts commit r289921. llvm-svn: 289984
Diffstat (limited to 'clang/test/CodeGen/debug-info-atomic.c')
-rw-r--r--clang/test/CodeGen/debug-info-atomic.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/test/CodeGen/debug-info-atomic.c b/clang/test/CodeGen/debug-info-atomic.c
index 3de0d3585d2..06b9546908c 100644
--- a/clang/test/CodeGen/debug-info-atomic.c
+++ b/clang/test/CodeGen/debug-info-atomic.c
@@ -1,8 +1,7 @@
// RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s
-// CHECK: !DIGlobalVariable(name: "i"
-// CHECK-SAME: type: ![[T:.*]], isLocal: false, isDefinition: true)
-// CHECK: ![[T]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[BT:.*]])
-// CHECK: ![[BT]] = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: ![[BTT:.*]])
-// CHECK: ![[BTT]] = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
+// CHECK: !DIGlobalVariable(name: "i"{{.*}}type: !5, isLocal: false, isDefinition: true)
+// CHECK: !5 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !6)
+// CHECK: !6 = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: !7)
+// CHECK: !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
_Atomic const int i;
OpenPOWER on IntegriCloud