[Lldb-commits] [PATCH] D13699: RenderScript command for printing allocation contents.
Ewan Crawford via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 13 08:22:24 PDT 2015
EwanCrawford created this revision.
EwanCrawford added reviewers: clayborg, jingham.
EwanCrawford added subscribers: lldb-commits, domipheus, ADodds.
EwanCrawford set the repository for this revision to rL LLVM.
This patch adds the command 'language renderscript allocation dump <ID>' for printing the contents of a RS allocation.
Displaying the coordinate of each element as well as its formatted value
e.g (lldb) language renderscript allocation dump 1
Data (X, Y, Z):
(0, 0, 0) = {0 1}
(1, 0, 0) = {2 3}
(2, 0, 0) = {4 5}
A --file <filename> option is also included, since for large allocations it may be more helpful to view this text as a file.
Repository:
rL LLVM
http://reviews.llvm.org/D13699
Files:
include/lldb/lldb-enumerations.h
source/Core/DataExtractor.cpp
source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13699.37251.patch
Type: text/x-patch
Size: 21813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151013/e4f1f38f/attachment-0001.bin>
More information about the lldb-commits
mailing list