Update TestRegisters for running on Linux (filed llvm.org/pr16301)
- skip the attach cases in TestRegisters.py -- caused slowness/sigabrt
- fixed log file removal function (in case test is run with -# flag)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183812 91177308-0d34-0410-b5e6-96231b3b80d8
Removing a redundant write



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183814 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/13299214>

Make the error message here more interesting for the user

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183818 91177308-0d34-0410-b5e6-96231b3b80d8
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.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183820 91177308-0d34-0410-b5e6-96231b3b80d8