[PATCH] Fix the return value of __builtin_eh_return_data_regno() for ARM and MIPS
Logan Chien
tzuhsiang.chien at gmail.com
Fri Feb 22 03:50:16 PST 2013
Hi,
It seems that both ARMTargetInfo and MipsTargetInfoBase does not override
getEHDataRegisterNumber(), thus __builtin_eh_return_data_regno() will
always returns -1 on ARM and MIPS. The patch should fix this issue, and
the test cases are included. Please have a look. Thanks.
Sincerely,
Logan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130222/12ac1a41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-__builtin_eh_return_data_regno-for-ARM-and-MIPS.patch
Type: application/octet-stream
Size: 2275 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130222/12ac1a41/attachment.obj>
More information about the cfe-commits
mailing list