summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2010-02-15-DbgStaticVar.c
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:56:07 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:56:07 +0000
commit02b418a875b630be83fad340e3a213701904617c (patch)
tree0a1e6916b0942c72e2b76df569e2b0d2f873090b /clang/test/CodeGen/2010-02-15-DbgStaticVar.c
parent0d725e2fd2ac77b9a8558b790f39942ab6ab4217 (diff)
downloadbcm5719-llvm-02b418a875b630be83fad340e3a213701904617c.tar.gz
bcm5719-llvm-02b418a875b630be83fad340e3a213701904617c.zip
DI: LLVM schema change: fold constants into string
Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. llvm-svn: 218913
Diffstat (limited to 'clang/test/CodeGen/2010-02-15-DbgStaticVar.c')
-rw-r--r--clang/test/CodeGen/2010-02-15-DbgStaticVar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/2010-02-15-DbgStaticVar.c b/clang/test/CodeGen/2010-02-15-DbgStaticVar.c
index facd14e03ee..a75ffbb0d70 100644
--- a/clang/test/CodeGen/2010-02-15-DbgStaticVar.c
+++ b/clang/test/CodeGen/2010-02-15-DbgStaticVar.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -g -emit-llvm %s -o - | grep "metadata ..b., metadata ..b., metadata ...,"
+// RUN: %clang_cc1 -g -emit-llvm %s -o - | FileCheck %s
// Test to check intentionally empty linkage name for a static variable.
// Radar 7651244.
static int foo(int a)
@@ -11,3 +11,4 @@ int main() {
int j = foo(1);
return 0;
}
+// CHECK: metadata !"0x34\00b\00b\00\00{{.*}}",
OpenPOWER on IntegriCloud