summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-08-30 18:22:23 +0000
committerAdrian Prantl <aprantl@apple.com>2017-08-30 18:22:23 +0000
commit9e83fb08381ad4a9262283283bf4eb17328d996c (patch)
tree60d9694a56a671fd3ac3dfda151843d237e12bfd /clang/test/CodeGenCXX/debug-info.cpp
parent6120801066c5203320681beed2885fafcf06472c (diff)
downloadbcm5719-llvm-9e83fb08381ad4a9262283283bf4eb17328d996c.tar.gz
bcm5719-llvm-9e83fb08381ad4a9262283283bf4eb17328d996c.zip
Adapt testcases to LLVM change r312144 in DIGlobalVariableExpression
llvm-svn: 312148
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp
index a27aee9aabf..6d6d0c7d19c 100644
--- a/clang/test/CodeGenCXX/debug-info.cpp
+++ b/clang/test/CodeGenCXX/debug-info.cpp
@@ -8,7 +8,7 @@
// !llvm.dbg.cu pulls in globals and their types first.
// CHECK-NOT: !DIGlobalVariable(name: "c"
-// CHECK: [[X]] = !DIGlobalVariableExpression(var: [[XV:!.*]])
+// CHECK: [[X]] = !DIGlobalVariableExpression(var: [[XV:!.*]], expr: !DIExpression())
// CHECK: [[XV]] = distinct !DIGlobalVariable(name: "x", linkageName: "_ZN6pr96081xE"
// CHECK-SAME: type: [[INCARRAYPTR:![0-9]*]]
// CHECK: [[INCARRAYPTR]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: [[INCARRAY:![0-9]+]]
OpenPOWER on IntegriCloud