[libc-commits] [PATCH] D94195: [libc] Switch to use a macro which does not insert a section for every libc function.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jan 6 14:51:43 PST 2021
sivachandra added inline comments.
================
Comment at: libc/src/__support/common.h.def:21
+ type name arglist; \
+ decltype(name) name##_impl __asm__(#name); \
+ decltype(name) name [[gnu::alias(#name)]]; \
----------------
Make the implementation name `__##name##_impl__`. Just `name##_impl` might collide with a real thing. You will need to update the name on line 23 also.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94195/new/
https://reviews.llvm.org/D94195
More information about the libc-commits
mailing list