[llvm-commits] patch: teach deadargelim to work on externally visible functions!
Duncan Sands
baldrick at free.fr
Mon Jan 4 04:42:29 PST 2010
Hi Edwin,
> Since you already make optimizations based on the assumption that the
> externally visible function you see
> is the actual one [*] that is going to be called at runtime I think
> there is a more general solution for this:
...
> [*] which may not be true, it could be overridden via LD_PRELOAD or
> other means.
the call to mayBeOverridden in the patch is checking whether we are
allowed to assume that the function body is definitive.
Ciao,
Duncan.
More information about the llvm-commits
mailing list