summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info-global.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-23 22:29:26 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-23 22:29:26 +0000
commit2af14cc4a90f43170f8ea9c1dfa0f71f46a0621c (patch)
treed9f92901b4a172dc6bc4b65c814fff2a8004d4f0 /test/CodeGenCXX/debug-info-global.cpp
parent4a0e8aa964fd08a1ca5b43e5d1db7dfe41892460 (diff)
DebugInfo: DIGlobalVariables became 'distinct' in LLVM r267301
Update testcases due to DIBuilder change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/debug-info-global.cpp')
-rw-r--r--test/CodeGenCXX/debug-info-global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/debug-info-global.cpp b/test/CodeGenCXX/debug-info-global.cpp
index 920db82409..795602380d 100644
--- a/test/CodeGenCXX/debug-info-global.cpp
+++ b/test/CodeGenCXX/debug-info-global.cpp
@@ -15,7 +15,7 @@ int f1() {
// CHECK: [[GLOBALS]] = !{[[CNST:![0-9]*]]}
-// CHECK: [[CNST]] = !DIGlobalVariable(name: "cnst",
-// CHECK-SAME: scope: [[NS:![0-9]*]]
+// CHECK: [[CNST]] = distinct !DIGlobalVariable(name: "cnst",
+// CHECK-SAME: scope: [[NS:![0-9]*]]
// CHECK: [[NS]] = !DINamespace(name: "ns"