Update for clang r203213

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203217 91177308-0d34-0410-b5e6-96231b3b80d8
The ThreadPlanCallFunction needs to pass its "StopOthers" to its run to address subplan.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203231 91177308-0d34-0410-b5e6-96231b3b80d8
If you are disabling a hardware breakpoint, use z1 not z0.

<rdar://problem/16256532>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203232 91177308-0d34-0410-b5e6-96231b3b80d8
Don't hold the ThreadList lock over calls to the GetStatus (Process or Thread) calls
or the lower levels of the Process won't be able to restart.

<rdar://problem/16244835>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203233 91177308-0d34-0410-b5e6-96231b3b80d8
Merge remote-tracking branch 'upstream/master' into warhol-lldb
Add decorator for recent FreeBSD failure

llvm.org/pr19075


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203245 91177308-0d34-0410-b5e6-96231b3b80d8
Fix test 'make clean' target for empty $(DSYM) on FreeBSD

A freebsd issue with rm prevents '[g]make clean' from working if $(DSYM)
is empty (fts_open(3) fails if passed an empty argument).

To work around this, simplify the clean target by using three separate
rm invocations: one for the common files, one for the case of non-empty
$(DYLIB_NAME), and one for non-empty $(DSYM).

Issue diagnosed (and reported to FreeBSD) by John Wolfe.

llvm.org/pr17933


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203253 91177308-0d34-0410-b5e6-96231b3b80d8
Fix malloc thread step-out test on FreeBSD

After hitting the malloc() breakpoint on FreeBSD our top frame is actually
an inlined function malloc_init.

  * frame #0: 0x0000000800dcba19 libc.so.7`malloc [inlined] malloc_init at malloc.c:5397
    frame #1: 0x0000000800dcba19 libc.so.7`malloc(size=1024) + 9 at malloc.c:5949
    frame #2: 0x00000000004006e5 test_step_out_of_malloc_into_function_b_with_dwarf`b(val=1) + 37 at main2.cpp:29

Add a heuristic to keep stepping out until we come to a non-malloc caller,
before checking if it is our desired caller from the test code.

llvm.org/pr17944


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203268 91177308-0d34-0410-b5e6-96231b3b80d8
Use predefined $(RM) in clean rule, and -r only for (expected) directories


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203271 91177308-0d34-0410-b5e6-96231b3b80d8
Verify we have a correct ELF or Mach core file before we return a valid instace of ProcessElfCore or ProcessMachCore respectively.



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



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203292 91177308-0d34-0410-b5e6-96231b3b80d8
Re-enable ProcessElfCore for non-FreeBSD/Linux builds; with Greg's fix in r203274 
this is not installing itself for Mach-O binaries.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203310 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a small inferior process memory leak in SystemRuntimeMacOSX::PopulatePendingItemsForQueue().


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203312 91177308-0d34-0410-b5e6-96231b3b80d8
Add API logging to the SBQueue/SBQueueItem/SBThread calls.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203330 91177308-0d34-0410-b5e6-96231b3b80d8
Need to use rm -rf on dSYM bundle directories.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203332 91177308-0d34-0410-b5e6-96231b3b80d8
Add inttypes.h to SBQueue.cpp (MSVC compilation error with PRIx32).

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203348 91177308-0d34-0410-b5e6-96231b3b80d8
Remove %zx in printf (only GCC supports it, not MSVC).

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203349 91177308-0d34-0410-b5e6-96231b3b80d8
Implement ObjectFilePECOFF::SetLoadAddress().

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203350 91177308-0d34-0410-b5e6-96231b3b80d8
POSIX: add missing curly braces

It seems that the original commit missed the curly braces for the scope, always
doing the string comparision.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@203357 91177308-0d34-0410-b5e6-96231b3b80d8
POSIX: fix possible invalid API usage

strcmp cannot be passed a NULL.  Add a short-circuiting check to avoid the
possible API misuse.

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