delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/14/13:01:47

From: "Andrew Crabtree" <andrewc AT rosemail DOT rose DOT hp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Exceptions
Date: Thu, 14 May 1998 09:55:48 -0700
Organization: Hewlett-Packard, Roseville
Lines: 26
Message-ID: <6jf7mi$8l5$1@rosenews.rose.hp.com>
References: <19980511035425 DOT AAP4598 AT ppp107 DOT cartsys DOT com>
NNTP-Posting-Host: ros51675cra.rose.hp.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Nate Eldredge wrote in message
<19980511035425 DOT AAP4598 AT ppp107 DOT cartsys DOT com>...
>>>AFAIK, the standard `-fexceptions' switch handles exceptions through a
>>>table
Yep.

>As I understand it, 2.8.1 just enables `-fsjlj-exceptions' by default, to
>save you the trouble. Unless something I haven't heard about has happened,
>nothing has actually changed.
I doubt this.  I only have the diffs from 2.8.1 but there is a new startup
file crtf.o as well as a linker script
change to make symbol EH_FRAME_START which is what is needed to initialize
the exception tables.  Robert H did the work on this.

In general -

-fexceptions causes exe bloat, but has small runtime overhead
-fsjlj-exceptions doesn't add much to exe but has performance penalty.

I have read reports that say sjlj is faster then table driver on some
architectures though . ??

Andy


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019