This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Set metadata access for explicit section
ClosedPublic

Authored by piotr on Dec 4 2018, 7:11 AM.

Details

Summary

This patch provides a means to set Metadata section kind
for a global variable, if its explicit section name is
prefixed with ".AMDGPU.metadata."
This could be useful to make the global variable go to
an ELF section without any section flags set.

Diff Detail

Repository
rL LLVM

Event Timeline

piotr created this revision.Dec 4 2018, 7:11 AM
dstuttard accepted this revision.Dec 11 2018, 1:13 AM
dstuttard added a reviewer: t-tye.

LGTM - but probably need approval from one of the other reviewers as well

This revision is now accepted and ready to land.Dec 11 2018, 1:13 AM
This revision was automatically updated to reflect the committed changes.