diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2018-08-10 17:07:27 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2018-08-10 17:07:27 +0000 |
| commit | f60082a038b0e02805e6dd101ea7eae6fd6f97ad (patch) | |
| tree | f63a36491ad4179124a82ffa8f1fda0a28a4b649 | |
| parent | 0b8efae6bc1acd42ad364463c8008a2efd037761 (diff) | |
| download | bcm5719-llvm-f60082a038b0e02805e6dd101ea7eae6fd6f97ad.tar.gz bcm5719-llvm-f60082a038b0e02805e6dd101ea7eae6fd6f97ad.zip | |
Make changes to the check strings so that the test I modified in r339438
passes on 32-bit targets.
llvm-svn: 339452
| -rw-r--r-- | clang/test/CodeGenCXX/block-byref-cxx-objc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp b/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp index 208a5c51601..6aca809c2c7 100644 --- a/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp +++ b/clang/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{{.*}}} |

