erichkeane added a comment.

In D76620#2327617 <https://reviews.llvm.org/D76620#2327617>, @yaxunl wrote:

> CUDA/HIP are facing similar issues, i.e. consistency of name mangling of 
> kernels between host/device compilation of the same TU. I hope this feature 
> to be implemented in a generic way so that it may be reusable for other 
> offloading languages.

This implementation SHOULD work for that I'd expect, but we're currently 
re-visiting it in order to get the names to be demanglable (at least on Linux, 
and will likely delay an RFC).  We've used the Itanium Mangler plus some 
modification to the lambda mangling to make it depend on source-lines instead 
of arbitrary ordering.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76620

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

Reply via email to