This is an archive of the discontinued LLVM Phabricator instance.

ELF: Add AMDGPU specific defintions
ClosedPublic

Authored by tstellarAMD on Jul 23 2015, 5:54 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

tstellarAMD retitled this revision from to ELF: Add AMDGPU specific defintions.
tstellarAMD updated this object.
tstellarAMD added a reviewer: rafael.
tstellarAMD added a subscriber: llvm-commits.
rafael edited edge metadata.Aug 5 2015, 5:49 AM

Please include a llvm-readobj testcase.

include/llvm/Support/ELF.h
752 ↗(On Diff #30476)

Please just include the final value.

838 ↗(On Diff #30476)

Please just include the final value.

995 ↗(On Diff #30476)

Please just include the final value.

tools/llvm-readobj/ELFDumper.cpp
967 ↗(On Diff #30476)

Can't you add ad

static const EnumEntry<unsigned> AMDGPUSymbolTypes[] = {
...
}
?

tstellarAMD marked 4 inline comments as done.
tstellarAMD edited edge metadata.

Here is an updated patch. I've added a test case, cleaned up the symbol
type handling in llvm-readobj and fixed the enum values.

Marked review comments as done.

rafael accepted this revision.Aug 5 2015, 11:29 AM
rafael edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 5 2015, 11:29 AM
This revision was automatically updated to reflect the committed changes.