[cfe-commits] Fixing some clang tests where ARM C++ ABI differs

David Tweed david.tweed at arm.com
Tue Sep 4 08:19:23 PDT 2012


Hi,

There are several clang C++ tests which are failing when run on ARM purely
due to a combination of (1) being run without an explicit triple and (2) the
ARM C++ ABI specifying constructors/destructors return the "this" pointer
(whereas itanium based C++ ABIs return void). This patch converts these
tests into 3 runs: once to test elements which don't depend on constructor
ABI, once with an explicit x86-64 abi and once with an explicit ARM abi.
These tests no longer fail on ARM and have been verified to still work on
x86. (It looks like this constructor ABI issue also arises in a couple of
other tests, but these tests have additional issues on ARM and should be
dealt with in separate patches.)

Regards,
David Tweed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch2a.diff
Type: application/octet-stream
Size: 19638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120904/2f711f5b/attachment.obj>


More information about the cfe-commits mailing list