llvm-project/lldb/tools
Greg Clayton d8cf1a119d Huge performance improvements when one breakpoint contains many locations.
325,000 breakpoints for running "breakpoint set --func-regex ." on lldb itself (after hitting a breakpoint at main so that LLDB.framework is loaded) used to take up to an hour to set, now we are down under a minute. With warm file caches, we are at 40 seconds, and that is with setting 325,000 breakpoint through the GDB remote API. Linux and the native debuggers might be faster. I haven't timed what how much is debug info parsing and how much is the protocol traffic to/from GDB remote.

That there were many performance issues. Most of them were due to storing breakpoints in the wrong data structures, or using the wrong iterators to traverse the lists, traversing the lists in inefficient ways, and not optimizing certain function name lookups/symbol merges correctly.

Debugging after that is also now very efficient. There were issues with replacing the breakpoint opcodes in memory that was read, and those routines were also fixed.

llvm-svn: 183820
2013-06-12 00:46:38 +00:00
..
darwin-debug <rdar://problem/13665446> 2013-04-24 17:53:59 +00:00
darwin-threads Add an option to resume a suspended task. 2013-04-30 23:43:52 +00:00
debugserver Huge performance improvements when one breakpoint contains many locations. 2013-06-12 00:46:38 +00:00
driver Add ${ansi.XX} parsing to lldb prompt, use-color setting, and -no-use-colors command line options. 2013-05-23 20:47:45 +00:00
install-headers Updated Apple LLDB version to lldb-300.99.0. Also 2013-03-07 22:29:06 +00:00
lldb-perf <rdar://problem/13732521> 2013-05-02 22:40:22 +00:00
lldb-platform After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
CMakeLists.txt Finish up CMake support for LLDB (tested on Linux) 2013-02-28 23:11:46 +00:00
Makefile FreeBSD patch that enabled the lldb-platform to be built from Viktor Kutuzov. 2012-03-29 17:46:11 +00:00