Fix OptionDefinition break from r212290.

Fixes some structure definitions in CommandObjectType
that needed to be adjusted for a new OptionDefinition
field.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212317 91177308-0d34-0410-b5e6-96231b3b80d8
Fix Windows build when python is not explicitly enabled

Currently Windows disables Python builds by default.  This
change ensures we don't process the scripts dir when we're
on Windows unless we're explicitly enabling python, which
prevents a build error.

Change by Deepak Panickal


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212319 91177308-0d34-0410-b5e6-96231b3b80d8
Windows build fixes and removal of endlessly recursive termination function.

This change removes the ScriptInterpreter::TerminateInterpreter() call which
ended up endlessly calling itself as things currently stand.  It also cleans
up some other Windows-related cmake changes.

See http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140630/011544.html
for more details.

Change by Zachary Turner


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