This is an archive of the discontinued LLVM Phabricator instance.

[libcxxabi] [unwinder] Tell the assembler that functions are functions so that the linker knows how to link them.
ClosedPublic

Authored by jroelofs on Aug 1 2014, 6:43 AM.

Details

Reviewers
danalbert
Summary

This fixes an interworking problem when the unwinder/libcxxabi is built for Thumb. When unw_getcontext is not marked as a function, 'bl' is used for the branch instead of 'bx'.

Diff Detail

Event Timeline

jroelofs updated this revision to Diff 12103.Aug 1 2014, 6:43 AM
jroelofs retitled this revision from to [libcxxabi] [unwinder] Tell the assembler that functions are functions so that the linker knows how to link them..
jroelofs updated this object.
jroelofs edited the test plan for this revision. (Show Details)
jroelofs added a reviewer: danalbert.
jroelofs added a subscriber: Unknown Object (MLST).
danalbert accepted this revision.Aug 1 2014, 3:00 PM
danalbert edited edge metadata.
This revision is now accepted and ready to land.Aug 1 2014, 3:00 PM
jroelofs closed this revision.Aug 1 2014, 3:13 PM

r214573

thakis added a subscriber: thakis.Aug 1 2014, 3:17 PM

Manuel: This is a good example where the email-only flow didn't work well,
the "accepted revision" action on phab didn't get translated into an "lgtm"
email.