This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Default to hidden visibility
ClosedPublic

Authored by arsenm on Aug 24 2018, 2:23 AM.

Details

Summary

Object linking isn't supported, so it's not useful
to emit default visibility. Default visibility requires
relocations we don't yet support for functions compiled
in another translation unit.

WebAssembly already does this, although they insert these
arguments in a different place for some reason.

Diff Detail

Event Timeline

arsenm created this revision.Aug 24 2018, 2:23 AM
nhaehnle removed a subscriber: nhaehnle.Aug 24 2018, 4:20 AM
yaxunl accepted this revision.Aug 29 2018, 1:55 PM

LGTM. Thanks!

This revision is now accepted and ready to land.Aug 29 2018, 1:55 PM
arsenm closed this revision.Aug 30 2018, 1:19 AM

r341033