Author: ahatanak Date: Fri Aug 10 10:07:27 2018 New Revision: 339452 URL: http://llvm.org/viewvc/llvm-project?rev=339452&view=rev Log: Make changes to the check strings so that the test I modified in r339438 passes on 32-bit targets.
Modified: cfe/trunk/test/CodeGenCXX/block-byref-cxx-objc.cpp Modified: cfe/trunk/test/CodeGenCXX/block-byref-cxx-objc.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/block-byref-cxx-objc.cpp?rev=339452&r1=339451&r2=339452&view=diff ============================================================================== --- cfe/trunk/test/CodeGenCXX/block-byref-cxx-objc.cpp (original) +++ cfe/trunk/test/CodeGenCXX/block-byref-cxx-objc.cpp Fri Aug 10 10:07:27 2018 @@ -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{{.*}}} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits