logo       

Re: C++ exceptions: msg#00041

gnu.cegcc.devel

Subject: Re: C++ exceptions

On Sun, 2007-07-08 at 20:20 +0100, Pedro Alves wrote:
> Here goes the v2 of the seh giga macros. Wear sunglasses.

Interesting stuff.

I've had little time to spend on this recently, but I've approached
things the other way. If I get far enough, then maybe both may meet.

I fiddled with gcc/config/arm/mingw32.h to put stuff around a function.
This is the difference obtained on a small example :

dannypc: {13} diff nullptr-before.s nullptr.s
12c12,18
< .global main
---
> .global main
> @ ASM_DECLARE_FUNCTION_NAME a
> .global _cegcc_main_data
> _cegcc_main_data:
> .word 0 /* _cegcc_main_handler */
> .word 0 /* _cegcc_main_size */
> @ ASM_DECLARE_FUNCTION_NAME b
14a21
> @ Yow prologue
39a47,49
> @ ASM_DECLARE_FUNCTION_SIZE a
> _cegcc_main_end:
> @ ASM_DECLARE_FUNCTION_SIZE b

Right now this is pretty useless, I'd need an interface to be able to
get to this from source. Working on that.

Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: mingw32.h
Description: Text Data

Attachment: nullptr.s
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/_______________________________________________
Cegcc-devel mailing list
Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise