[PATCH] D158242: [Clang][Attribute] Introduce linkage attribute to specify the exact LLVM linkage type for functions or variables

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 08:25:08 PDT 2023


aaron.ballman added a comment.

In D158242#4598692 <https://reviews.llvm.org/D158242#4598692>, @strimo378 wrote:

>> I'm wary of exposing internal LLVM implementation details through a user-facing attribute like this.
>
> @aaron.ballman That means you would be more open to an attribute like `__attribute__((onedefinitionrule))` because it is part of the C++ standard?

It depends entirely on what the attribute would do, how it is used in-tree, how users would use it, etc.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158242



More information about the cfe-commits mailing list