This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Dwarf in assembler file
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 01 Dec 2006 08:28:50 +0100
- Subject: Re: Dwarf in assembler file
- References: <5.2.0.9.1.20061130170056.0189cb20@NT_SERVER> <5.2.0.9.1.20061130170056.0189cb20@NT_SERVER>
At 09:12 30.11.2006 -0800, Ian Lance Taylor wrote:
>Fabian Cenedese <Cenedese@indel.ch> writes:
>
>> Why are there three symbols _ZN17_TASK_CLASS_NAME_D{0,1,2}Ev? They're all
>> placed on the same source line .loc 3 120 0, contain exactly the same code. So what
>> is the meaning/difference between these three? I also get two symbols for the constructor,
>> also only differing in the last number.
>
>These are required by the C++ ABI:
> http://codesourcery.com/cxx-abi/
Thanks for the link, I will have a look at it.
>base object destructor of a class T
>complete object destructor of a class T
>deleting destructor of a class T
>
>The compiler should do a better job of combining them, since they are
>often the same.
This was compiled unoptimized, I'm sure with some -O option it could
optimize them. I can try and see what changes.
Thanks
bye Fabi