[Lldb-commits] [PATCH] D13247: RenderScript command for printing allocation information

Ewan Crawford via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 29 07:36:29 PDT 2015


EwanCrawford created this revision.
EwanCrawford added reviewers: jingham, clayborg.
EwanCrawford added subscribers: lldb-commits, domipheus, ADodds, dean.
EwanCrawford set the repository for this revision to rL LLVM.
Herald added subscribers: srhines, danalbert, tberghammer.

This patch adds a new command 'language renderscript allocation list' for printing the details of all loaded RS allocations.

In order to work out this information lldb JITs the runtime for the data it wants. 
This has a penalty of a couple seconds latency, so is only done once for each allocation and the results cached. 

If the user later wants to recalculate this information however, they can force lldb to do so with the --refresh flag.

Repository:
  rL LLVM

http://reviews.llvm.org/D13247

Files:
  RenderScriptRuntime.cpp
  RenderScriptRuntime.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13247.35968.patch
Type: text/x-patch
Size: 26623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150929/a25242f8/attachment-0001.bin>


More information about the lldb-commits mailing list