EGCS vs MSVC - exception handling
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Wed Jan 14 02:14:00 GMT 1998
Arun Sharma <asharma@netscape.com> writes:
|> Jeffrey A Law <law@cygnus.com> writes:
|>> That requires quite a bit more work. You might start with adding
|>> -fasynchronous-exceptions to the command line (or something close to that)
|>> which instructs flow to create an edge from every insn to its EH handler
|>> (since just about any insn could trap into a signal handler).
|> Why would that be necessary ? Inside the signal handler, I know
|> precisely which instruction generated the trap by looking into the
|> sigcontext. All I need to do is to be able to unwind the stack and
|> look for the right exception handler to call.
The sigcontext is as unportable as you can get.
--
Andreas Schwab "And now for something
schwab@issan.informatik.uni-dortmund.de completely different"
schwab@gnu.org
More information about the Gcc
mailing list