[PATCH] D120266: [clang][CodeGen] Avoid emitting ifuncs with undefined resolvers
Itay Bookstein via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 07:15:01 PST 2022
ibookstein updated this revision to Diff 411409.
ibookstein edited the summary of this revision.
ibookstein added a comment.
Changed code to generating a function declaration and 'upgrading'
it to an ifunc instead of generating and ifunc and 'downgrading'
it to a function declaration. I decided against changing it to
bind against the unsuffixed alias instead of the ifunc, though,
because that seems to be more involved for little benefit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120266/new/
https://reviews.llvm.org/D120266
Files:
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGen/attr-cpuspecific.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120266.411409.patch
Type: text/x-patch
Size: 5092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220225/fb60809d/attachment-0001.bin>
More information about the cfe-commits
mailing list