[PATCH v4] Introduce attribute sym
Alexandre Oliva
oliva@adacore.com
Wed Aug 16 04:27:54 GMT 2023
On Jul 22, 2023, Fangrui Song <maskray@google.com> wrote:
> I wonder whether this attribute can be named "alias" without arguments.
Erhm... Maybe I'm missing something about your suggestion, but without
arguments, how would we tell the compiler the symbol name of the
additional alias we want for the definition?
Maybe, instead of no arguments, we could use something like:
attribute (alias (..., "alt_sym_name"))
but I don't find that clearer, and I have a hunch that the
implementation would be significantly more convoluted.
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
Disinformation flourishes because many people care deeply about injustice but
very few check the facts. Think Assange & Stallman. The empires strike back
More information about the Gcc-patches
mailing list