[patch] Don't internalize all but main by default

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jul 30 15:17:25 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 5213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140730/94e9abe0/attachment.bin>


More information about the llvm-commits mailing list