rjmccall added a comment.

Mangling more calling conventions when mangling function types in Itanium 
(except at the top level) is the right thing to do.  There's already a place to 
do so in the mangling.  We just haven't done this yet because a lot of those 
calling convention are supported by other compilers, so we need to coordinate.  
So you need to check out what other compilers do (GCC, ICC) and imitate them if 
they're already setting a reasonable default; otherwise, I think there's a 
standard algorithm for generating these.

Separately, the MSVC mangler should support Clang's CCs if there's a reasonable 
extensible rule there.  I've never been able to figure out the MVSC mangling 
grammar.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89559/new/

https://reviews.llvm.org/D89559

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

Reply via email to