[llvm-commits] patch: teach deadargelim to work on externally visible functions!

Rafael Espindola espindola at google.com
Sun Jan 10 19:56:03 PST 2010


> This example has undefined behavior, so it doesn't matter what we
> produce.  We should just always generate the faster code.  This sounds
> like a pretty serious performance bug on ELF systems.

On the ELF standard maybe :-(
Functions that are not marked with hidden/protected visibility can be
overridden at runtime.  That is used for thing like changing malloc by
using LD_PRELOAD.

> -Chris

Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list