Track IntrusiveRefCntPtr::get() changes from LLVM r212366

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212368 91177308-0d34-0410-b5e6-96231b3b80d8
Track changes from clang r212388

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212391 91177308-0d34-0410-b5e6-96231b3b80d8
Update lldb  code to match the change in clang r212386

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212410 91177308-0d34-0410-b5e6-96231b3b80d8
remove trailing whitespace + remove some useless comments

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212411 91177308-0d34-0410-b5e6-96231b3b80d8
llvm::IntrusiveRefCntPtr => std::shared_ptr to match the changes in clang r212388

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212413 91177308-0d34-0410-b5e6-96231b3b80d8
CMake: Let LLDB build with CMake 3

Teach add_lldb_library to correctly use the CMake 2.8.12
PUBLIC/PRIVATE/INTERFACE keywords.  LLDB's CMake configuration would
inconsistently apply these keywords; this was previously a warning in
CMake 2.x but became an error in CMake 3.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212482 91177308-0d34-0410-b5e6-96231b3b80d8
Allow specification of no source display on stop.

See http://llvm.org/bugs/show_bug.cgi?id=20149 for details.

Change by Randy Smith.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212485 91177308-0d34-0410-b5e6-96231b3b80d8
Marked TestFormatters.py XFAIL on Linux per pr20230.

See http://www.llvm.org/bugs/show_bug.cgi?id=20230 for details.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212486 91177308-0d34-0410-b5e6-96231b3b80d8
Marked TestLongjmp.py tests XFAIL for Linux.

See http://llvm.org/bugs/show_bug.cgi?id=20231


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212488 91177308-0d34-0410-b5e6-96231b3b80d8
Mark Radar9974002DataFormatterTestCase test XFAIL on Linux.

See http://llvm.org/bugs/show_bug.cgi?id=20232 for details.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212489 91177308-0d34-0410-b5e6-96231b3b80d8
Mark test_watchpoint_multiple_threads_with_dwarf as XFAIL on Linux/clang.

See http://llvm.org/bugs/show_bug.cgi?id=20233 for details.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212491 91177308-0d34-0410-b5e6-96231b3b80d8
Invalidate process UID/GID-related command options on Windows.

Windows uses a different process security model and does not have
a concept of process UID or GID.  This patch makes these options
invalid on Windows.  Attempting to specify these options when the
current platform is Windows will generate an error.

Reviewed by: Jim Ingham
Differential Revision: http://reviews.llvm.org/D4373

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212500 91177308-0d34-0410-b5e6-96231b3b80d8
If a hand-called function is interrupted by hitting a breakpoint, then 
when you continue to finish off the function call, the expression result
will be included as part of the thread stop info.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212506 91177308-0d34-0410-b5e6-96231b3b80d8
Add docs for the "thread.completed-expression" format entry.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212507 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a compilation failure caused by a non-const reference.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212509 91177308-0d34-0410-b5e6-96231b3b80d8
Implment "platform process list" for Windows.

This patch implements basic functionality of the "platform process
list" command for Windows.  Currently this has the following
limitations.

* Certain types of filtering are not enabled (e.g. filtering by
  architecture with -a), although most filters work.
* The username of the process is not yet obtained.
* Using -v to list verbose information generates an error.
* The architecture column displays the entire triple, leading to
  misaligned formatting of the printed table.

Reviewed by: Greg Clayton
Differential Revision: http://reviews.llvm.org/D4413

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212510 91177308-0d34-0410-b5e6-96231b3b80d8
Enable multi-process testing for MacOSX.

This change modifies the way the multi-threaded test runner works.
It uses the Python multiprocessing library rather than the threading
library.  Investigation showed that all MacOSX threads were waiting on
the global python lock when using the threading approach.  Not sure
why that differed from the Linux/FreeBSD implementations.

The new approach uses the multiprocessing library's Pool class.  It's
mildly cleaner than the other version, runs multithreaded on MacOSX,
and seems to have caused no performance regression on Linux.  The
worker thread logic is simpler with the Pool managing the worker
processes.

This also includes a minor change to the test runner's python
lldb dir logic using the -P option.  It now looks at the last line
of output rather than the first line.  This covers part of the issue
of extra options validation logic getting spit out.  The test runner
will now pick up the right python library directory.  It does not
fix all the issues, though, as a ton of tests (50+ on Linux) are
failing due to unexpected output when running lldb.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212513 91177308-0d34-0410-b5e6-96231b3b80d8
Fix broken MacOSX Xcode build for CommandOptionValidators.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212536 91177308-0d34-0410-b5e6-96231b3b80d8
Fix broken tests due to new error output.

This reverses out the options validators changes.  We'll get these
back in once the changes to the output can be resolved.

Restores broken tests on FreeBSD, Linux, MacOSX.

Changes reverted: r212500, r212317, r212290.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212543 91177308-0d34-0410-b5e6-96231b3b80d8
Remove hack from dotest.py to fix extra output on -P command, and fix MacOSX multi-threaded test run collisions on crashlog.dylib.

On MacOSX, we need to adjust the way we clean up the crashlog dylib in deleteCrashInfoDylib().
Right now it is only geared to run one test at a time.  For now I'm just skipping the delete.
I'll work with Apple on a fix that handles this.  It seems to only cause one dylib total to
hang around that might otherwise have been deleted.  Fixes MacOSX multiple tests running
at the same time.  (I didn't hit this on Yosemite, might be an issue that only shows up
on Mavericks?)


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