When libcxxabi is configured to use LLVM unwinder, we should use it instead of always using libgcc_s.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is not that simple. Remember that libgcc_s serves both as unwinder and compiler runtime. Since libcxx is linked with -nodefaultlibs, including gcc_s is necessary to fulfill dependency on automatically generated runtime calls (__udiv* stuff, for example). I'm working on fixing that properly but it is stalled on D25338.
Also, your patch is based on outdated code. Please update your repository before submitting patches.
Comment Actions
Thanks for the comment, I just rebased my change and realized that it's no longer relevant.