[cfe-commits] r81778 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp

David Chisnall csdavec at swansea.ac.uk
Mon Sep 14 15:11:11 PDT 2009


On 14 Sep 2009, at 21:08, Daniel Dunbar wrote:

> Should this be necessary, or is there a bug in the backend not
> mangling a symbol correctly?

Hi Daniel,

I think it's a bug in the back end not mangling @, but having had a  
quick glance at the AsmPrinter I don't think it's fixable without  
invasive changes to CodeGen because the mangling happens on the symbol  
with @ and $ inserted in it to indicate the symbol type in a few  
places.  I plan on taking a closer look when I have some more time.

There is a related bug with the PowerPC AsmPrinter that I want to look  
at; it was not mangling dots in symbol names (which seem to not be  
allowed by gas on PowerPC).

David



More information about the cfe-commits mailing list