This is an archive of the discontinued LLVM Phabricator instance.

ELF: Use hidden visibility for all DefinedSynthetic symbols.
ClosedPublic

Authored by pcc on Apr 12 2016, 2:23 PM.

Details

Summary

This simplifies the code by allowing us to remove the visibility argument
to functions that create synthetic symbols.

The only functional change is that the visibility of the MIPS "_gp" symbol
is now hidden. Because this symbol is defined in every executable or DSO, it
would be difficult to observe a visibility change here, so this seems safe,
but I'd like a MIPS expert to take a look.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 53462.Apr 12 2016, 2:23 PM
pcc retitled this revision from to ELF: Use hidden visibility for all DefinedSynthetic symbols..
pcc updated this object.
pcc added reviewers: atanasyan, rafael, ruiu.
pcc added a subscriber: llvm-commits.
ruiu edited edge metadata.Apr 12 2016, 2:25 PM

Looks good to me, but I'll let Simon to sign off.

atanasyan accepted this revision.Apr 12 2016, 11:53 PM
atanasyan edited edge metadata.

LGTM

This revision is now accepted and ready to land.Apr 12 2016, 11:53 PM
This revision was automatically updated to reflect the committed changes.