[cfe-commits] [PATCH] Fix test case failure due to C++ ABI difference on ARM

陳韋任 chenwj at iis.sinica.edu.tw
Mon Apr 30 08:14:02 PDT 2012

Hi all,

  In section 3.1 "Summary of differences from and additions to the generic C++
ABI" [1], it says ARM requires constructor return *this* instead of void. This
patch fix test cases failures due to this ABI difference on ARM.

  As for CodeGenCXX/x86-64-abi-sret-vs-2word-struct-param.cpp, this is a
x86-specific test case. Adding triple seems to be a right solution.



Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: r155819.patch
Type: text/x-diff
Size: 11333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120430/6f24c6f1/attachment.patch>

More information about the cfe-commits mailing list