| Issue |
235684
|
| Summary |
[Clang] Allow `[[gnu::ifunc]]` to take a function instead of the mangled name
|
| Labels |
enhancement,
clang
|
| Assignees |
|
| Reporter |
philnik777
|
Currently `[[gnu::ifunc]]` requires the user to provide the mangled name of the resolver function. Instead, Clang could allow passing a function to it and derive the mangled name from that instead. This would significantly improve the user experience here and allow enforcing an appropriate prototype. This could either extend the current `[[gnu::ifunc]]` spelling, or a new `[[clang::ifunc]]` spelling could be introduced.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs