From 4362261b0093730e46ffcad910e8b465cf0bb1cb Mon Sep 17 00:00:00 2001 From: Stephen Lin Date: Thu, 15 Aug 2013 06:47:53 +0000 Subject: CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. llvm-svn: 188447 --- clang/test/CodeGenCXX/pragma-weak.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'clang/test/CodeGenCXX/pragma-weak.cpp') diff --git a/clang/test/CodeGenCXX/pragma-weak.cpp b/clang/test/CodeGenCXX/pragma-weak.cpp index ed537ffcd29..c0330791404 100644 --- a/clang/test/CodeGenCXX/pragma-weak.cpp +++ b/clang/test/CodeGenCXX/pragma-weak.cpp @@ -10,22 +10,22 @@ int zex; #pragma weak foo struct S { void foo(); }; void S::foo() {} -// CHECK: define void @_ZN1S3fooEv( +// CHECK-LABEL: define void @_ZN1S3fooEv( #pragma weak zed namespace bar { void zed() {} } -// CHECK: define void @_ZN3bar3zedEv( +// CHECK-LABEL: define void @_ZN3bar3zedEv( #pragma weak bah void bah() {} -// CHECK: define void @_Z3bahv( +// CHECK-LABEL: define void @_Z3bahv( #pragma weak baz extern "C" void baz() {} -// CHECK: define weak void @baz( +// CHECK-LABEL: define weak void @baz( #pragma weak _Z3baxv void bax() {} // GCC produces a weak symbol for this one, but it doesn't look like a good // idea to expose the mangling to the pragma unless we really have to. -// CHECK: define void @_Z3baxv( +// CHECK-LABEL: define void @_Z3baxv( -- cgit v1.2.3