Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in POSIXThread, instead just let StopInfo handle it.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204504 91177308-0d34-0410-b5e6-96231b3b80d8
If a single step ends on a breakpoint, it should be reported as a breakpoint hit
even though the underlying exception is a trace exception.

<rdar://problem/15243355>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204534 91177308-0d34-0410-b5e6-96231b3b80d8
Cleanup some dead assignements reported by scan-build

No functionnal change.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204545 91177308-0d34-0410-b5e6-96231b3b80d8
Removed a redundant entry.
Revision 203667 has already added lldbHostWindows.a
to USEDLIBS. Revision 203785 just ended up adding a redundant entry.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204601 91177308-0d34-0410-b5e6-96231b3b80d8
Use --whole-archive linker option for minw too.
It is already used for Linux and FreeBSD. 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204603 91177308-0d34-0410-b5e6-96231b3b80d8
Update for Ubuntu 13.10 after feedback from Eran Ifrah.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204619 91177308-0d34-0410-b5e6-96231b3b80d8
Modified patch from Piotr Rak that makes GetSharedModuleList() more thread safe and also fixed a missed member initialization on the copy contractor and also makes the assignment operator safer.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204622 91177308-0d34-0410-b5e6-96231b3b80d8
Renamed a struct from i386 to i386_.
It is to avoid build error when gcc defines i386.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204628 91177308-0d34-0410-b5e6-96231b3b80d8
Include <mutex> for std::once.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204632 91177308-0d34-0410-b5e6-96231b3b80d8
Add annotation for test failure due to clang 3.4

FreeBSD recently updated to Clang 3.4 and the TestFormatters test case
started failing as it omits the C1 complete object constructor when not
needed.

llvm.org/pr19011


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204652 91177308-0d34-0410-b5e6-96231b3b80d8
Add a "--threads N" option instead of having to use an environment variable. It also now defaults to running with the number of CPUs on the machine.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204681 91177308-0d34-0410-b5e6-96231b3b80d8
JITed functions can now have debug info and be debugged with debug and source info:

(lldb) b puts
(lldb) expr -g -i0 -- (int)puts("hello")

First we will stop at the entry point of the expression before it runs, then we can step over a few times and hit the breakpoint in "puts", then we can continue and finishing stepping and fininsh the expression.

Main features:
- New ObjectFileJIT class that can be easily created for JIT functions
- debug info can now be enabled when parsing expressions
- source for any function that is run throught the JIT is now saved in LLDB process specific temp directory and cleaned up on exit
- "expr -g --" allows you to single step through your expression function with source code

<rdar://problem/16382881>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204682 91177308-0d34-0410-b5e6-96231b3b80d8
Make cmake build the new ObjectFileJIT.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204683 91177308-0d34-0410-b5e6-96231b3b80d8
Add ObjectFile/JIT to the makefile.



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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204688 91177308-0d34-0410-b5e6-96231b3b80d8
Make "disassemble -a" work when the target is not running yet.  It will dump all the functions matching that address, just like "disassemble -n" does before running.

<rdar://problem/16406570>


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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204698 91177308-0d34-0410-b5e6-96231b3b80d8
Add expected failure annotation for llvm.org/pr19241


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204718 91177308-0d34-0410-b5e6-96231b3b80d8
Update 'running threaded' messages after option parsing change

"Running multithreaded with n threads (from LLDB_TEST_THREADS)" is
incorrect in the common case, because the thread count is now obtained
from a --threads option, or a default of multiprocessing.cpu_count().

I left the messages in for now as there are some intermittent issues
that happen while running tests multithreaded and it may help in
triaging those.  We may wish to just remove them later on.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204725 91177308-0d34-0410-b5e6-96231b3b80d8
A fix for: http://llvm.org/bugs/show_bug.cgi?id=19241 

When there was no process, the expression options were set to not ignore breakpoints. This causes debug info to be generated and causes errors when evaluating simple expressions.



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