On 07/24/2014 12:09 AM, Jakub Jelinek wrote:
Ah.... internal fns. Those cannot have attributes indeed (technical
limitation).
Martin was working on putting those flags elsewhere (cgraph, though internal
functions don't have cgraph nodes either ...). Maybe it was a bad idea to use
internal functions for ASAN.
For internal-fn, we already support ECF* constants, guess either we could
add support for EAF* too, through internal-fn.def,
Just hack in EAFs or support full-featured declarations in internals?
The latter looks more appropriate but would increase size of
internal function calls by one word (namely
gimple_statement_call::internal_fn).
or we need support for
normal builtins that are inaccessible to users (but using . or space
in names is too ugly IMHO for that).
We could be just another flag in DEF_BUILTIN.
Although my understanding was that we already have
user-inaccessible builtins and these are internal functions.
-Y