X-Recipient: archive-cygwin@delorie.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 <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Slowness problem due to  sjlj-exceptions for Octave
References: <20070905080321.29259AB0.matsuoka@mol.nagoya-u.ac.jp> <46DE0C86.61C0ABB0@dessent.net> <46DFFE96.70907@ajrh.net> <46E006AB.F600C446@dessent.net> <46E0D4F7.1050006@ajrh.net> <46E146D0.9C1F7289@dessent.net> <01e501c7f154$2ff08ff0$2e08a8c0@CAM.ARTIMI.COM> <46E155A7.8E3B6034@dessent.net> <01f401c7f159$3a2b7b60$2e08a8c0@CAM.ARTIMI.COM>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

