This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Enable .rodata for amdpal os
ClosedPublic

Authored by Flakebi on Aug 13 2020, 5:28 AM.

Details

Summary

PAL recently got support for multiple ELF sections and relocations,
therefore we can now use .rodata sections instead of forcing constants
into .text.

Diff Detail

Event Timeline

Flakebi created this revision.Aug 13 2020, 5:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2020, 5:28 AM
Flakebi requested review of this revision.Aug 13 2020, 5:28 AM
arsenm accepted this revision.Aug 13 2020, 6:03 AM
This revision is now accepted and ready to land.Aug 13 2020, 6:03 AM
This revision was automatically updated to reflect the committed changes.