[PATCH] D25008: [libcxx] Include unwinder library in the linker script
Asiri Rathnayake via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 02:15:03 PDT 2016
rmaprath added a subscriber: rmaprath.
rmaprath added a comment.
The patch generally makes sense to me.
I wonder if the test configuration can also benefit from this; `test/libcxx/test/target_info.py` manually updates the link line to use `-lgcc_s` or `-lunwind` depending on how the build is configured. Presumably, this workaround will no longer be needed if the linker script does that for us?
(Note:- `-lgcc_s` is linked twice there to satisfy some weird dependency, it's not a mistake)
More information about the cfe-commits