This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO] PATCH: Make it build
Andrew Pinski wrote:
> On 6/23/07, Mark Mitchell <mark@codesourcery.com> wrote:
>> 4. If no DW_AT_MIPS_linkage_name attribute is available, we need to
>> fall back to DW_AT_name.
>
> As mentioned a couple times before, GCC should really not needing to
> emit DW_AT_MIPS_linkage_name at all. It only does because gdb is not
> able to reconstruct the mangled name.
For LTO, we need the mangled name. Therefore, independently of what GDB
should or should not do, having GCC emit this attribute is useful and
necessary for LTO.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713