From: Akira Hatanaka Date: Fri, 10 Aug 2018 17:07:27 +0000 (+0000) Subject: Make changes to the check strings so that the test I modified in r339438 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c335bba42d7d07a5c8cf370f087f66c388e8b7d;p=clang Make changes to the check strings so that the test I modified in r339438 passes on 32-bit targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339452 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/block-byref-cxx-objc.cpp b/test/CodeGenCXX/block-byref-cxx-objc.cpp index 208a5c5160..6aca809c2c 100644 --- a/test/CodeGenCXX/block-byref-cxx-objc.cpp +++ b/test/CodeGenCXX/block-byref-cxx-objc.cpp @@ -26,12 +26,12 @@ int testA() { // CHECK-LABEL: define internal void @__Block_byref_object_dispose_ // CHECK: call {{.*}} @_ZN1AD1Ev -// CHECK-LABEL: define linkonce_odr hidden void @__copy_helper_block_e8_32rc40rc( +// CHECK-LABEL: define linkonce_odr hidden void @__copy_helper_block_e{{4|8}}_{{20|32}}rc{{24|40}}rc( // CHECK: call void @_Block_object_assign( // CHECK: invoke void @_Block_object_assign( // CHECK: call void @_Block_object_dispose({{.*}}) #[[NOUNWIND_ATTR:[0-9]+]] -// CHECK-LABEL: define linkonce_odr hidden void @__destroy_helper_block_e8_32rd40rd( +// CHECK-LABEL: define linkonce_odr hidden void @__destroy_helper_block_e{{4|8}}_{{20|32}}rd{{24|40}}rd( // CHECK: invoke void @_Block_object_dispose( // CHECK: call void @_Block_object_dispose( // CHECK: invoke void @_Block_object_dispose( @@ -48,7 +48,7 @@ int testB() { // CHECK: call {{.*}} @_ZN1BD1Ev // CHECK-NOT: define{{.*}}@__copy_helper_block -// CHECK: define linkonce_odr hidden void @__destroy_helper_block_e8_32r40r( +// CHECK: define linkonce_odr hidden void @__destroy_helper_block_e{{4|8}}_{{20|32}}r{{24|40}}r( // CHECK: attributes #[[NOUNWIND_ATTR]] = {{{.*}}nounwind{{.*}}}