summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-static-const-fp.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-static-const-fp.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-static-const-fp.c')
-rw-r--r--clang/test/CodeGen/debug-info-static-const-fp.c30
1 files changed, 11 insertions, 19 deletions
diff --git a/clang/test/CodeGen/debug-info-static-const-fp.c b/clang/test/CodeGen/debug-info-static-const-fp.c
index 4dfe057f2b6..67cda82c5f6 100644
--- a/clang/test/CodeGen/debug-info-static-const-fp.c
+++ b/clang/test/CodeGen/debug-info-static-const-fp.c
@@ -33,22 +33,14 @@ int main() {
return hVal + fVal + dVal + ldVal;
}
-// CHECK: !DIGlobalVariableExpression(var: [[HVAL:.*]], expr: [[HEXPR:.*]])
-// CHECK: [[HVAL]] = distinct !DIGlobalVariable(name: "hVal",
-// CHECK-SAME: isLocal: true, isDefinition: true
-// CHECK: [[HEXPR]] = !DIExpression(DW_OP_constu, 16502, DW_OP_stack_value)
-
-// CHECK: !DIGlobalVariableExpression(var: [[FVAL:.*]], expr: [[FEXPR:.*]])
-// CHECK: [[FVAL]] = distinct !DIGlobalVariable(name: "fVal",
-// CHECK-SAME: isLocal: true, isDefinition: true
-// CHECK: [[FEXPR]] = !DIExpression(DW_OP_constu, 3238681178, DW_OP_stack_value)
-
-// CHECK: !DIGlobalVariableExpression(var: [[DVAL:.*]], expr: [[DEXPR:.*]])
-// CHECK: [[DVAL]] = distinct !DIGlobalVariable(name: "dVal",
-// CHECK-SAME: isLocal: true, isDefinition: true
-// CHECK: [[DEXPR]] = !DIExpression(DW_OP_constu, 4658387303597904457, DW_OP_stack_value)
-
-// CHECK-LDlg-DAG: [[LDVAL:.*]] = distinct !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true)
-// CHECK-LDlg-DAG: !DIGlobalVariableExpression(var: [[LDVAL]])
-// CHECK-LDsm-DAG: [[LDVAL:.*]] = distinct !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true)
-// CHECK-LDsm-DAG: !DIGlobalVariableExpression(var: [[LDVAL]], expr:
+// CHECK: !DIGlobalVariable(name: "hVal", {{.*}}, isLocal: true, isDefinition: true, expr: ![[HEXPR:[0-9]+]]
+// CHECK: ![[HEXPR]] = !DIExpression(DW_OP_constu, 16502, DW_OP_stack_value)
+
+// CHECK: !DIGlobalVariable(name: "fVal", {{.*}}, isLocal: true, isDefinition: true, expr: ![[FEXPR:[0-9]+]]
+// CHECK: ![[FEXPR]] = !DIExpression(DW_OP_constu, 3238681178, DW_OP_stack_value)
+
+// CHECK: !DIGlobalVariable(name: "dVal", {{.*}}, isLocal: true, isDefinition: true, expr: ![[DEXPR:[0-9]+]]
+// CHECK: ![[DEXPR]] = !DIExpression(DW_OP_constu, 4658387303597904457, DW_OP_stack_value)
+
+// CHECK-LDlg: !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true)
+// CHECK-LDsm: !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true, expr:
OpenPOWER on IntegriCloud