[LLVMdev] [PATCH] [v2] R600/SI: Embed disassembly in ELF object

Jay Cornwall jay at jcornwall.me
Thu Oct 10 18:10:27 PDT 2013


On 2013-10-10 8:36, Tom Stellard wrote:
> On Wed, Oct 09, 2013 at 08:06:42PM -0500, Jay Cornwall wrote:
>> This patch adds R600/SI disassembly text to compiled object files, 
>> when
>> a code dump is requested, to assist debugging in Mesa clients.
> 
> Thanks for working on this.  This patch looks good, but I think we
> should enable it for all targets.  Do you have commit access?

OK, I've enabled it for pre-SI and tested with Mesa. I don't have commit 
access. Would appreciate if you could push it for me.

>> An example patch to Mesa to test functionality is available here:
>> https://gist.github.com/anonymous/6911363
> 
> The Mesa patch looks good, have you sent it to mesa-dev?

I've just sent a slightly improved version to mesa-dev, to remove the SI 
bytecode dump in Mesa when this disassembly is available.

Thanks,

-- 
Jay Cornwall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-r600-gcn-disassembly-in-elf.patch
Type: text/x-diff
Size: 6222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131010/e7e6aeab/attachment.patch>


More information about the llvm-dev mailing list