[PATCH] D47201: [CUDA] Implement nv_weak attribute for functions

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 1 10:25:34 PDT 2018


tra added a comment.

IIUIC, nv_weak is a synonym for weak (<rant>why, oh why did they need it?</rant>)
You may need to hunt down and change few other places that deal with the weak attribute.
E.g.: https://github.com/llvm-project/llvm-project-20170507/blob/master/clang/lib/AST/Decl.cpp#L4267
https://github.com/llvm-project/llvm-project-20170507/blob/master/clang/lib/CodeGen/ItaniumCXXABI.cpp#L3045


Repository:
  rC Clang

https://reviews.llvm.org/D47201





More information about the cfe-commits mailing list