This is an archive of the discontinued LLVM Phabricator instance.

Make GlobalValues with non-default visibilility dso_local
ClosedPublic

Authored by espindola on Jan 16 2018, 11:51 AM.

Details

Reviewers
rnk
sfertile
Summary

This is similar to r322317, but for visibility. It is not as neat because we have to special case extern_weak.

The idea is the same as the previous change, make the transition to explicit dso_local easier for the frontends. With this they only have to add dso_local to symbols where we need some external information to decide if it is dso_local (like it being part of an ELF executable.

Diff Detail

Event Timeline

espindola created this revision.Jan 16 2018, 11:51 AM
This revision is now accepted and ready to land.Jan 17 2018, 2:01 PM
espindola closed this revision.Jan 17 2018, 7:13 PM

322808,322807,322806