LLDB  mainline
Classes | Macros | Enumerations | Variables
RenderScriptRuntime.cpp File Reference
#include "RenderScriptRuntime.h"
#include "RenderScriptScriptGroup.h"
#include "lldb/Breakpoint/StoppointCallbackContext.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/DumpDataExtractor.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/ValueObjectVariable.h"
#include "lldb/DataFormatters/DumpValueObjectOptions.h"
#include "lldb/Expression/UserExpression.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Host/StringConvert.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandObjectMultiword.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/Type.h"
#include "lldb/Symbol/VariableList.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/SectionLoadList.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/RegularExpression.h"
#include "lldb/Utility/Status.h"
#include "llvm/ADT/StringSwitch.h"
#include <memory>
Include dependency graph for RenderScriptRuntime.cpp:

Go to the source code of this file.

Classes

struct  lldb_private::RenderScriptRuntime::ScriptDetails
 
struct  lldb_private::RenderScriptRuntime::Element
 
struct  lldb_private::RenderScriptRuntime::AllocationDetails
 
struct  lldb_private::RenderScriptRuntime::AllocationDetails::Dimension
 
struct  lldb_private::RenderScriptRuntime::AllocationDetails::FileHeader
 
struct  lldb_private::RenderScriptRuntime::AllocationDetails::ElementHeader
 
class  CommandObjectRenderScriptRuntimeModuleDump
 
class  CommandObjectRenderScriptRuntimeModule
 
class  CommandObjectRenderScriptRuntimeKernelList
 
class  CommandObjectRenderScriptRuntimeReductionBreakpointSet
 
class  CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions
 
class  CommandObjectRenderScriptRuntimeKernelBreakpointSet
 
class  CommandObjectRenderScriptRuntimeKernelBreakpointSet::CommandOptions
 
class  CommandObjectRenderScriptRuntimeKernelBreakpointAll
 
class  CommandObjectRenderScriptRuntimeReductionBreakpoint
 
class  CommandObjectRenderScriptRuntimeKernelCoordinate
 
class  CommandObjectRenderScriptRuntimeKernelBreakpoint
 
class  CommandObjectRenderScriptRuntimeKernel
 
class  CommandObjectRenderScriptRuntimeContextDump
 
class  CommandObjectRenderScriptRuntimeContext
 
class  CommandObjectRenderScriptRuntimeAllocationDump
 
class  CommandObjectRenderScriptRuntimeAllocationDump::CommandOptions
 
class  CommandObjectRenderScriptRuntimeAllocationList
 
class  CommandObjectRenderScriptRuntimeAllocationList::CommandOptions
 
class  CommandObjectRenderScriptRuntimeAllocationLoad
 
class  CommandObjectRenderScriptRuntimeAllocationSave
 
class  CommandObjectRenderScriptRuntimeAllocationRefresh
 
class  CommandObjectRenderScriptRuntimeAllocation
 
class  CommandObjectRenderScriptRuntimeStatus
 
class  CommandObjectRenderScriptRuntimeReduction
 
class  CommandObjectRenderScriptRuntime
 

Macros

#define FMT_COORD   "(%" PRIu32 ", %" PRIu32 ", %" PRIu32 ")"
 
#define JIT_TEMPLATE_CONTEXT   "void* ctxt = (void*)rsDebugGetContextWrapper(0x%" PRIx64 "); "
 

Enumerations

enum  TypeToFormatIndex { eFormatSingle = 0, eFormatVector, eElementSize }
 
enum  ExpressionStrings
 

Variables

static constexpr OptionDefinition g_renderscript_reduction_bp_set_options []
 
static constexpr OptionDefinition g_renderscript_kernel_bp_set_options []
 
static constexpr OptionDefinition g_renderscript_runtime_alloc_dump_options []
 
static constexpr OptionDefinition g_renderscript_runtime_alloc_list_options []
 

Macro Definition Documentation

◆ FMT_COORD

#define FMT_COORD   "(%" PRIu32 ", %" PRIu32 ", %" PRIu32 ")"

◆ JIT_TEMPLATE_CONTEXT

#define JIT_TEMPLATE_CONTEXT   "void* ctxt = (void*)rsDebugGetContextWrapper(0x%" PRIx64 "); "

Definition at line 1805 of file RenderScriptRuntime.cpp.

Enumeration Type Documentation

◆ ExpressionStrings

Definition at line 1783 of file RenderScriptRuntime.cpp.

◆ TypeToFormatIndex

Enumerator
eFormatSingle 
eFormatVector 
eElementSize 

Definition at line 749 of file RenderScriptRuntime.cpp.

Variable Documentation

◆ g_renderscript_kernel_bp_set_options

constexpr OptionDefinition g_renderscript_kernel_bp_set_options[]
static
Initial value:
= {
{LLDB_OPT_SET_1, false, "coordinate", 'c', OptionParser::eRequiredArgument,
nullptr, {}, 0, eArgTypeValue,
"Set a breakpoint on a single invocation of the kernel with specified "
"coordinate.\n"
"Coordinate takes the form 'x[,y][,z] where x,y,z are positive "
"integers representing kernel dimensions. "
"Any unset dimensions will be defaulted to zero."}}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 4328 of file RenderScriptRuntime.cpp.

Referenced by CommandObjectRenderScriptRuntimeKernelBreakpointSet::CommandOptions::GetDefinitions().

◆ g_renderscript_reduction_bp_set_options

constexpr OptionDefinition g_renderscript_reduction_bp_set_options[]
static
Initial value:
= {
{LLDB_OPT_SET_1, false, "function-role", 't',
OptionParser::eRequiredArgument, nullptr, {}, 0, eArgTypeOneLiner,
"Break on a comma separated set of reduction kernel types "
"(accumulator,outcoverter,combiner,initializer"},
{LLDB_OPT_SET_1, false, "coordinate", 'c', OptionParser::eRequiredArgument,
nullptr, {}, 0, eArgTypeValue,
"Set a breakpoint on a single invocation of the kernel with specified "
"coordinate.\n"
"Coordinate takes the form 'x[,y][,z] where x,y,z are positive "
"integers representing kernel dimensions. "
"Any unset dimensions will be defaulted to zero."}}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 4169 of file RenderScriptRuntime.cpp.

Referenced by CommandObjectRenderScriptRuntimeReductionBreakpointSet::CommandOptions::GetDefinitions().

◆ g_renderscript_runtime_alloc_dump_options

constexpr OptionDefinition g_renderscript_runtime_alloc_dump_options[]
static
Initial value:
= {
{LLDB_OPT_SET_1, false, "file", 'f', OptionParser::eRequiredArgument,
nullptr, {}, 0, eArgTypeFilename,
"Print results to specified file instead of command line."}}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 4600 of file RenderScriptRuntime.cpp.

Referenced by CommandObjectRenderScriptRuntimeAllocationDump::CommandOptions::GetDefinitions().

◆ g_renderscript_runtime_alloc_list_options

constexpr OptionDefinition g_renderscript_runtime_alloc_list_options[]
static
Initial value:
= {
{LLDB_OPT_SET_1, false, "id", 'i', OptionParser::eRequiredArgument, nullptr,
{}, 0, eArgTypeIndex,
"Only show details of a single allocation with specified id."}}
#define LLDB_OPT_SET_1
Definition: lldb-defines.h:111

Definition at line 4738 of file RenderScriptRuntime.cpp.

Referenced by CommandObjectRenderScriptRuntimeAllocationList::CommandOptions::GetDefinitions().