theraven added a comment.

In https://reviews.llvm.org/D50783#1221147, @ahatanak wrote:

> The GNUstep documentation I found replaces '@' with '\1'. Would that fix the 
> problem?
>
> https://github.com/gnustep/libobjc2/blob/master/ABIDoc/abi.tex


Yup.  If this mangling is needed outside of CGObjCGNU, it would be good to take 
the code that does this mangling and move it somewhere that can be reused.  I 
don't know if there are any characters that are valid in Objective-C type 
encoding but aren't valid in Windows PE/COFF symbols, but having a hook to fix 
them in a single place sounds like a good idea.


Repository:
  rC Clang

https://reviews.llvm.org/D50783



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to