| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F2958E9.40103@gmail.com> |
| Date: | Wed, 01 Feb 2012 16:23:21 +0100 |
| From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: llvm/clang 3.0-1 silently ignores C++ exception handling |
| References: | <4F2835F0 DOT 5050704 AT t-online DOT de> <1328068369 DOT 5448 DOT 6 DOT camel AT YAAKOV04> <4F28D9ED DOT 7040703 AT t-online DOT de> <4F29470B DOT 7010109 AT cs DOT utoronto DOT ca> |
| In-Reply-To: | <4F29470B.7010109@cs.utoronto.ca> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |