Fixed our install-headers script to set version
numbers correctly.

<rdar://problem/17708687>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213284 91177308-0d34-0410-b5e6-96231b3b80d8
In Process::LoadImage, if dlopen returns 0x0 fetch the error with dlerror and report 
that in the returned Error.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213294 91177308-0d34-0410-b5e6-96231b3b80d8
Create an _d suffixed symlink when doing a debug Windows build.

_lldb is built as an extension module on Windows.  Normally to load
an extension module named 'foo', Python would look for the file
'foo.pyd'.  However, when a debug interpreter is used, Python will
look for the file 'foo_d.pyd'.  This change checks the build
configuration and creates the correct symlink name based on the
build configuration.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213306 91177308-0d34-0410-b5e6-96231b3b80d8
ReadPointedString takes a Stream not a DataBuffer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213314 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the objective C symbol parsing in ObjectFileMachO.

This fixes all of the hidden ivar test cases and any case where we try to find the full definition of an objective C class.

This also means hidden ivars show up again.

<rdar://problem/15458957>
llvm.org/pr20270
llvm.org/pr20269
llvm.org/pr20272



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213328 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes a number of issue related to test portability on Windows.

99% of this CL is simply moving calls to "import pexpect" to a more
narrow scope - i.e. the function that actually runs a particular
test.  This way the test suite can run on Windows, which doesn't have
pexpect, and the individual tests that use pexpect can be disabled on
a platform-specific basis.

Additionally, this CL fixes a few other cases of non-portability.
Notably, using "ps" to get the command line, and os.uname() to
determine the architecture don't work on Windows.  Finally, this
also adds a stubbed out builder_win32 module.

The full test suite runs correctly on Windows after this CL, although
there is still some work remaining on the C++ side to fix one-shot
script commands from LLDB (e.g. script print "foo"), which currently
deadlock.

Reviewed by: Todd Fiala

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213343 91177308-0d34-0410-b5e6-96231b3b80d8
Use the designated PYTHON_EXECUTABLE during build.

We were hardcoding "python" as the command to run the swig wrapper
scripts.  We should be using PYTHON_EXECUTABLE instead.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213366 91177308-0d34-0410-b5e6-96231b3b80d8
Fixing warnings shouldn't introduce a crasher.

Fix the warning the correct way without making things crash when ENABLE_MUTEX_ERROR_CHECKING is non enabled.

<rdar://problem/17703039>


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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213410 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a bug with order of operations.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213411 91177308-0d34-0410-b5e6-96231b3b80d8
Test commit.  Having trouble committing from one machine but not
another, attempting to fix it.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213413 91177308-0d34-0410-b5e6-96231b3b80d8
Allow the user to override the LLDB_TEST_COMPILER at CMake level.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213421 91177308-0d34-0410-b5e6-96231b3b80d8
LLDB now correctly handles virtual inheritance.

Test case added as well.

<rdar://problem/16785904>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213433 91177308-0d34-0410-b5e6-96231b3b80d8
In Process::LoadImage, use the same function call both to call dlopen and to collect
the error if there is one.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213436 91177308-0d34-0410-b5e6-96231b3b80d8
Add the ability to suppress the creation of a persistent
result variable and use in in "Process::LoadImage" so that,
for instance, "process load" doesn't increment the return
variable number.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213440 91177308-0d34-0410-b5e6-96231b3b80d8
build: fix cmake warning with newer CMake

Hoist the compatibility macros out a level and re-use them when adding link
dependencies.  Silences a warning from CMake.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213469 91177308-0d34-0410-b5e6-96231b3b80d8
linux process: silence GCC switch coverage warning

Add missing entry for eExecMessage message type to silence GCC switch coverage
warning.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213470 91177308-0d34-0410-b5e6-96231b3b80d8
Remove spurious debugging message from CMake.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@213553 91177308-0d34-0410-b5e6-96231b3b80d8
Rename dosep.ty to dosep.py

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