HomePhabricator

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

Authored by vpykhtin on Apr 7 2016, 12:24 AM.

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

llvm-svn: 265645

Details

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