The relocations used for externally visible functions
aren't supported.
I'm not sure if it would be better to actually try
supporting the relocations.
Differential D37887
AMDGPU: Run internalize symbols at -O0 arsenm on Sep 14 2017, 8:13 PM. Authored by
Details
Diff Detail Event TimelineComment Actions AFAIK the relocations are supported but you need to be using the PLT so the relocations are against the data section and not the text section.
Comment Actions Can you please restore foo_used and just fix calling convention? This case is not covered now.
Comment Actions Not really, it is noinline. The old one was always inline with the opposite check condition.
|
Looks like it changes original logic. All functions were internalized except for declarations and kernels.