mstorsjo added a comment.

In https://reviews.llvm.org/D39673#917524, @martell wrote:

> I mostly expect this to be useful where environment has builds all 3 versions 
> of the libunwind. where the library is named differently based on the eh 
> model.
>  e.g. `libunwind-sjlj.a` `libunwind-seh.a` and `libunwind-dwarf.a`
>  With the above exception flags the version of libunwind with the matching 
> model should be automatically linked, I imagine it to be stored in a similar 
> locations as the compiler-rt libs.


Ah, I see. I'm a little hesitant about such an environment, because code built 
with each exception handling model is essentially a different ABI, and having 
them all in the same setup feels pretty prone to errors. Like, you need to have 
built your libcxx and libcxxabi with matching exception handling models as 
well, so then you need three copies of them as well.


Repository:
  rL LLVM

https://reviews.llvm.org/D39673



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to