<div dir="ltr"><div><div>Hi,<br><br></div> 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.<br>
<br></div>Sincerely,<br>Logan<br></div>