[PATCH] D44435: CUDA ctor/dtor Module-Unique Symbol Name

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 21 05:38:32 PDT 2018


rjmccall added a comment.

This does not address my review.  My review is suggesting that we avoid this issue completely by fixing IRGen to use an external linkage for internal declarations in your emission mode.  That would allow you to just emit the module ctors as truly internal in the first place, removing any need to mangle them.


https://reviews.llvm.org/D44435





More information about the cfe-commits mailing list