about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-22 13:46:25 -0700
committerbors <bors@rust-lang.org>2013-10-22 13:46:25 -0700
commitb477f7a7b74615bba9ab3074082f9cc76a24e8a3 (patch)
tree6561e1470b0c324628d5e96e7f6df8a4bf7950bb /src/rt/sync/rust_thread.cpp
parentae0905ab67a2dd3def61e266bba9f8f223586af6 (diff)
parentfd8c06e7b56baab37ce6154cca6c518a76d54a78 (diff)
downloadrust-b477f7a7b74615bba9ab3074082f9cc76a24e8a3.tar.gz
rust-b477f7a7b74615bba9ab3074082f9cc76a24e8a3.zip
auto merge of #10013 : bdash/rust/mavericks-unwinding, r=alexcrichton
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.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions