[llvm-branch-commits] [clang] [llvm] [clang] Support __attribute__((ifunc(...))) on Darwin platforms (PR #73687)

Eric Christopher via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Nov 29 10:19:01 PST 2023


echristo wrote:

On Wed, Nov 29, 2023 at 9:37 AM Jon Roelofs ***@***.***>
wrote:

> Do you need an OS version check here?
>
> I don't think so, at least not yet. With #73686
> <https://github.com/llvm/llvm-project/pull/73686>, support for this is
> entirely up to the compiler.
>
Aha I was wondering where the implementation side was :)

It looks like you don't necessarily need linker support as you're putting
it into the binary on occasion as well. This could work for now, but if you
plan on using this extensively it might be worth something else (as you
note).


https://github.com/llvm/llvm-project/pull/73687


More information about the llvm-branch-commits mailing list