[llvm-commits] patch: teach deadargelim to work on externally visible functions!
Török Edwin
edwintorok at gmail.com
Mon Jan 11 07:41:47 PST 2010
On 01/11/2010 05:58 AM, Rafael Espindola wrote:
>> - from an ELF symbol visibility point of view this would mean the
>> symbols should get protected visibility, instead of default visibility
>>
>
> Remember that protected visibility is actually more expensive because
> of the need to maintain pointer equality. You probably want to use
> hidden or default only unless told to do otherwise by the user.
>
Right, we shouldn't change the ELF visibility, however we could avoid
emitting the @PLT for in-module calls (Dan says in another mail that it
wouldn't
affect function pointer compares).
Best regards,
--Edwin
More information about the llvm-commits
mailing list