This is an archive of the discontinued LLVM Phabricator instance.

[GlobalOpts] mark linkonce_odr unnamed_addr GV as hidden
Needs ReviewPublic

Authored by steven_wu on Feb 9 2018, 12:36 PM.

Details

Reviewers
pcc
espindola
Summary

For the symbols are has linkonce_odr and unnamed_addr, it is safe to be
dropped from symbol table. Mark them as hidden visibility so they are
not exposed the runtime linker as weak externals.

Diff Detail

Event Timeline

steven_wu created this revision.Feb 9 2018, 12:36 PM
espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 8:37 AM