[PATCH] D131628: [LangRef] Add description for nocallback attribute

Nuno Lopes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 21 07:49:18 PDT 2022


nlopes added a comment.

In D131628#3732352 <https://reviews.llvm.org/D131628#3732352>, @jdoerfert wrote:

> We can do 2 things:
>
> 1. drop `nocalback` and `inacc...` whenever we link as the current "module-based" wording might be violated in any link step.
> 2. rephrase it to be "lto-unit" based. So it needs to keep holding even after every step of (IR-)linking.
>
> I believe 2) is what we actually want, thoughts?

GIven that the semantics of gcc's leaf attribute is per file, there's no other options than dropping the attribute when linking.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131628



More information about the llvm-commits mailing list