This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Provide machine -> name mapping
ClosedPublic

Authored by tpr on May 8 2018, 10:07 AM.

Details

Summary

AMDGPU stores a numerical code for the particular GPU variant in EFlags
in the ELF file. This commit provides a mapping from that number into
the machine name for use by objdump-type tools.

Change-Id: Id37fc0bebad443bd89c0080985ce298c4e7e9319

Diff Detail

Repository
rL LLVM

Event Timeline

tpr created this revision.May 8 2018, 10:07 AM
This revision is now accepted and ready to land.May 8 2018, 10:11 AM
This revision was automatically updated to reflect the committed changes.