[patch] Don't internalize all but main by default
Duncan P. N. Exon Smith
dexonsmith at apple.com
Sun Aug 3 19:56:03 PDT 2014
LGTM. Nice cleanup.
> On 2014 Jul 30, at 15:17, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>
> This is mostly a cleanup, but it changes a fairly old behavior.
>
> Every "real" LTO user was already disabling the silly internalize pass
> and creating the internalize pass itself. The difference with this
> patch is for "opt -std-link-opts" and the C api.
>
> Now to get a usable behavior out of opt one doesn't need the funny
> looking command line:
>
> opt -internalize -disable-internalize
> -internalize-public-api-list=foo,bar -std-link-opts
>
> Cheers,
> Rafael
> <t.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list