llvm-project/lldb/source
Luke Drummond b3bbcb1229 Add the ability to set breakpoints on named RenderScript reductions
- Add new `lldb_private::lldb_renderscript::RSReduceBreakpointResolver`
class that can set breakpoints on kernels that are constituent
functions of named reduction groups. Also support debugging of subsets
of the the reduction group with the `-t, --function-role` flag which
takes a comma-separated list of reduction function types
outconverter,combiner,initializer,accumulator (defaults to all)

- Add 2 new helper methods to `RenderScriptRuntime`,
  1. `CreateReductionBreakpoint(name, types)`: instantiates a new
  RSReduceBreakpointResolver and inserts that resolver into the running
  process.
  2. `PlaceBreakpointOnReduction`: which is a public helper function.

- hook up the above functionality to the command-line with new
  `CommandObject*` classes that handle parsing of function roles and
  dispatch to the runtime. These are namespaced under the snappy
  `language renderscript reduction breakpoint ...` subcommand

- [incidental] Factor multiple common uses of
  `FindFirstSymbolWithNameAndType(ConstString(".rs.info")` into static
  `IsRenderScriptScriptModule(ModuleSP module)` function, and replace
  original uses.

llvm-svn: 283362
2016-10-05 19:10:47 +00:00
..
API Removing the new Minidump plugin 2016-10-05 18:11:45 +00:00
Breakpoint Fix some test failures due to the recent Breakpoint patch. 2016-10-05 18:40:51 +00:00
Commands Fix an issue where LLDB would not accept the --description-verbosity option to 'po' without an argument after the StringRef refactoring 2016-09-26 21:36:17 +00:00
Core Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
DataFormatters Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
Expression [CMake] LLDB/Expression needs to depend on intrinsics_gen 2016-09-29 22:55:09 +00:00
Host Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
Initialization *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Interpreter Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
Plugins Add the ability to set breakpoints on named RenderScript reductions 2016-10-05 19:10:47 +00:00
Symbol Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
Target Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
Utility Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
CMakeLists.txt [CMake] Generate LLDB_REVISION at build time 2016-09-23 23:33:52 +00:00
lldb.cpp [CMake] Generate LLDB_REVISION at build time 2016-09-23 23:33:52 +00:00