[PATCH] D16998: [AMDGPU] llvm-objdump: disassembling .hsatext section of HSA Code Object v1.0

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 08:51:20 PST 2016


On 10 March 2016 at 11:31, Valery Pykhtin <valery.pykhtin at amd.com> wrote:
> vpykhtin added a comment.
>
> In http://reviews.llvm.org/D16998#371942, @rafael wrote:
>
>> How has the test created. What is a ".co"?
>
>
> ".co" means CodeObject. It was created using out of llvm tree utility. It is of HSA Code Object v1.0 format which is slightly different from what AMDGPU assembler currently emitting, the main difference is - code symbol has zero size and amd_kernel_code_t (runtime control structure) and ISA could be non-adjacent. The dissasembler is supposed to accept both versions.

In other words, this is a Elf_Rel file? Why do you need a new extension?

Cheers,
Rafael


More information about the llvm-commits mailing list