[PATCH] D25402: [Driver] Pass -lunwind when using libc++ + compiler-rt on Linux
Michał Górny via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 05:00:21 PDT 2016
mgorny added a comment.
In https://reviews.llvm.org/D25402#566070, @joerg wrote:
> It's difficult to say whether if one change to certain driver functions affect some target or not. That's one reason why the test change is so important.
>
> Looking at the latest version, I still don't understand why the change for Linux is needed. libc++ should provide a linker script now and that should include -lunwind as appropriate.
Most importantly, the linker script can't predict which -rtlib will be used and therefore whether -lgcc_s or -lunwind should be used.
https://reviews.llvm.org/D25402
More information about the cfe-commits
mailing list