X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <46E15DE8.77209B90@dessent.net> Date: Fri, 07 Sep 2007 07:19:20 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Slowness problem due to sjlj-exceptions for Octave References: <20070905080321 DOT 29259AB0 DOT matsuoka AT mol DOT nagoya-u DOT ac DOT jp> <46DE0C86 DOT 61C0ABB0 AT dessent DOT net> <46DFFE96 DOT 70907 AT ajrh DOT net> <46E006AB DOT F600C446 AT dessent DOT net> <46E0D4F7 DOT 1050006 AT ajrh DOT net> <46E146D0 DOT 9C1F7289 AT dessent DOT net> <01e501c7f154$2ff08ff0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <46E155A7 DOT 8E3B6034 AT dessent DOT net> <01f401c7f159$3a2b7b60$2e08a8c0 AT CAM DOT ARTIMI DOT COM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dave Korn wrote: > Right, so IOW, the SEH support does all the required unwinding for us. > Ultimately I guess that's the only solution that's going to be both complete > and correct. (The only other thing I could even imagine would be some kind of > hideous .pdb abuse using the M$ official symbol files to extract the frame and > FPO information for frames in API functions...) Well, assuming that none of these foreign frames do any kind of -fomit-frame-pointer style optimizations, it should be possible to implement a fallback unwinder that simply ignores the frame and advances one frame up and resumes the table-based unwinding. And that's what (I thought) the recent w32-unwind.h contribution in 4.3 does, but I could be wrong. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/