This is an archive of the discontinued LLVM Phabricator instance.

Don't export symbols from clang/opt/llc if plugins are disabled.
ClosedPublic

Authored by efriedma on Mar 20 2020, 2:08 PM.

Details

Summary

The only reason we export symbols from these tools is to support plugins; if we don't have plugins, exporting symbols just bloats the executable and makes LTO less effective.

See review of D75879 for the discussion that led to this patch.

Diff Detail