I got a bug report that the unwinder is not using the return_address_register 
value in the CIE.  This patch fixes that.  Instead of hard coding which psudeo 
register number contains the saved return address in the stack frame, the 
register number is found in the CIE.  This allowed a bunch of template 
specializations to be removed.

Tested on Mac OS X 10.9 by running the test suite with OPTIONS:
  -mmacosx-version-min-10.5 -Wl,-no_compact_unwind
which disables compact unwind and runs with just dwarf unwind info.

Attachment: unwind.patch
Description: Binary data


-Nick


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to