This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: llvm/clang 3.0-1 silently ignores C++ exception handling


On 2/1/2012 3:07 PM, Ryan Johnson wrote:

OK, I'll do.

Must be at least somewhat Cygwin specific. Clang on i686 Linux
generates exception handling code properly (tested with clang 2.9 on
Debian).
I have vague memories that Clang doesn't support SJLJ exceptions, and
further vague memories that Cygwin favors SJLJ because dwarf exceptions
interact badly with The Windows Way of doing things. That could be your
problem, assuming my vague memories aren't completely out of date.

Either way, tho, it's a bit strange that the compiler doesn't squawk at
you. Clang prides itself on having good diagnostics, and it's not
exactly a small semantic change to silently replace throw with abort().

Ryan

gcc4-4.3 and later use Dwarf instead of SJLJ that was used by gcc-3


Regards
Marco


-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]