This is an archive of the discontinued LLVM Phabricator instance.

Don't create hidden dllimport global values
ClosedPublic

Authored by espindola on Jan 23 2018, 5:40 PM.

Details

Reviewers
rnk
Summary

hidden visibility is almost the opposite of dllimport. We were producing them before (dllimport wins in the existing llvm implementation), but now the llvm verifier produces an error.

Diff Detail

Event Timeline

espindola created this revision.Jan 23 2018, 5:40 PM
espindola edited subscribers, added: cfe-commits; removed: llvm-commits.Jan 23 2018, 5:44 PM
colden added a subscriber: colden.Jan 23 2018, 6:42 PM

Confirmed, this fixes my issue! Thanks!

rnk accepted this revision.Jan 24 2018, 8:36 AM

lgtm

This revision is now accepted and ready to land.Jan 24 2018, 8:36 AM