This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: assembler generated code
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: san bangalore <sanbangalore at yahoo dot co dot in>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 31 Jan 2005 15:54:40 +0100 (CET)
- Subject: Re: assembler generated code
On Mon, 31 Jan 2005, san bangalore wrote:
> Hi All,
>
> I am trying to figure out the assembly code generated
> for a C++ source code. I have written a simple C++
> program an d trying to match the generated assembly
> code.
> I am attaching a file which contains both the source
> and the assembly code. I have also put my comments for
> those assembly constructs which i could understand.
> I could not understand 2 blocks of assembly code which
> i have named as DOUBT1_start and DOUBT2_start.
> Can anyone please explain me what the assembly code in
> between the DOUBT label means.
My wild guess is that this is exception handling needed for a case there
is some exception thrown either by operator new or by class A constructor.
Cheers,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com