HomePhabricator

[AMDGPU] llvm-objdump: Minimal HSA Code Object disassembler support.

Description

[AMDGPU] llvm-objdump: Minimal HSA Code Object disassembler support.

Reenable reverted r265550 with endianness issue fixed. Variables of
endian-aware types such as ulittle32_t should be explicitly casted
to their natural equivalent types before passing it as vararg to
printf like functions (format in my case). Added lit config file
depending on AMDGPU target as the testcase uses assembler.

Differential revision: http://reviews.llvm.org/D16998

Details

Committed
vpykhtinApr 7 2016, 12:24 AM
Differential Revision
D16998: [AMDGPU] llvm-objdump: disassembling amdgcn object file
Parents
rL265644: Symbol: fix build
Branches
Unknown
Tags
Unknown