OSDN Git Service

Disable trivial weak_ptr test on ARM because it is not expected to work.
authorVy Nguyen <vyng@google.com>
Mon, 20 Jul 2020 20:59:46 +0000 (16:59 -0400)
committerVy Nguyen <vyng@google.com>
Mon, 20 Jul 2020 21:02:49 +0000 (17:02 -0400)
commitf5e49bd9defd5c3c3587027f9826fc356a91fdf6
tree7f56109784c467a9934ca6444fabb8e672e7f7cb
parent308a127a38d1111f3940420b98ff45fc1c17715f
Disable trivial weak_ptr test on ARM because it is not expected to work.

Summary:
weak_ptr has two pointers (more than the 4 bytes limit), so it will not be returned in registers on ARM, even if it is trivial.
The test, therefore, will fail on ARM.

Reviewers: #libc!

Subscribers: kristof.beyls, danielkiss, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D84200
libcxx/test/libcxx/memory/trivial_abi/weak_ptr_ret.pass.cpp