Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unwinding on OS X 10.9. #10013

Merged
merged 1 commit into from
Oct 22, 2013
Merged

Fix unwinding on OS X 10.9. #10013

merged 1 commit into from
Oct 22, 2013

Commits on Oct 22, 2013

  1. Fix unwinding on OS X 10.9.

    OS X 10.9's linker has a bug that results in it failing to preserve
    DWARF unwind information when passed the -no_compact_unwind flag.
    This flag is passed on OS X because the unwind information for
    __morestack cannot be represented by the compact unwind format.
    
    We can work around this problem by using a more targeted approach
    to disabling compact unwind information. The OS X linker looks for
    a particular pattern in the DWARF unwind information and will not
    attempt to convert the unwind information to the compact format.
    The pattern in question is the return address register being saved
    twice to the same location.
    
    Fixes #6849.
    bdash committed Oct 22, 2013
    5 Configuration menu
    Copy the full SHA
    fd8c06e View commit details
    Browse the repository at this point in the history