This is an archive of the discontinued LLVM Phabricator instance.

[Instrumentation] Set hidden visibility for the bias variable
ClosedPublic

Authored by phosek on Jan 27 2020, 11:30 PM.

Details

Summary

We have to avoid using a GOT relocation to access the bias variable,
setting the hidden visibility achieves that.

Diff Detail

Event Timeline

phosek created this revision.Jan 27 2020, 11:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2020, 11:30 PM
mcgrathr accepted this revision.Jan 27 2020, 11:41 PM

There should be test coverage that verifies the visibility gets set, but lgtm with that.

This revision is now accepted and ready to land.Jan 27 2020, 11:41 PM
phosek updated this revision to Diff 240962.Jan 28 2020, 12:06 PM

Test updated

This revision was automatically updated to reflect the committed changes.