On 12/19/14 10:58, Jan Hubicka wrote:
Yeah, I've told you that this is a major blocker I couldn't resolve the last
time I tried to move things.
IMHO this Java method aliases needs to be made cgraph-aware somehow,
thus we need to build the aliases as proper aliases during candidate
collection but somehow mark them reclaimable by the cgraph code
(builtding the aliases is only done if TREE_ASM_WRITTEN).
Honza may have an idea here?
Hmm, would you mind explain me what are Java method aliases?
Making alias removed when unused would probably require extra flag (as you can
not make comdat alias of non-comdat symbol) but should be easy to do.
Looking at the code, making Java aliases to be output at the same time we output
thunks in C++ may just work....
Can you elaborate on this? Sorry, this is an area I'm largely
unfamiliar with.
Thanks.
Aldy