[PATCH] D25402: [Driver] Pass -lunwind along with compiler-rt when necessary on Linux

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 18:42:50 PST 2017


compnerd requested changes to this revision.
compnerd added a comment.
This revision now requires changes to proceed.

This really needs a new driver flag (`-unwinder`?) similar to `-rtlib`, as there are multiple unwinders, and it is unclear which unwinder is the proper one on a given target.  This has been something on my TODO list for a while.  Mixing and matching undwinders is not really possible, and it is perfectly valid to use compiler-rt with the gcc unwinder on Linux.


https://reviews.llvm.org/D25402





More information about the cfe-commits mailing list