Make lldb -P work on Windows.
authorZachary Turner <zturner@google.com>
Fri, 18 Jul 2014 20:36:08 +0000 (20:36 +0000)
committerZachary Turner <zturner@google.com>
Fri, 18 Jul 2014 20:36:08 +0000 (20:36 +0000)
commitc9bf0c70b5cffd6cc3032683e18cc582a98ffe8a
tree75b33278f03f3a6b98e5d2da40fb6a9189ca51d6
parent754d54fcf8ccf972d0785596aaf83aed4a1edf7f
Make lldb -P work on Windows.

lldb -P, which outputs its python path, works by using Host-layer
facilities to get information about the loaded python module.  This
Host functionality was unimplemented on Windows, so this patch
implements it.  Additionally, it removes a pexpect dependency from
the test runner and uses an equivalent invocation of subprocess.

Reviewed by: Todd Fiala

Differential Revision: http://reviews.llvm.org/D4548

llvm-svn: 213410
lldb/source/Host/common/Host.cpp
lldb/source/Host/windows/Host.cpp
lldb/test/dotest.py