Add ENABLE_THREADS for these threaded tests

On at least FreeBSD linking with -lpthread is needed for std::thread.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218899 91177308-0d34-0410-b5e6-96231b3b80d8
thread state coordinator: add tests and impl to error on creation/death issues.

Added tests and impl to make sure the following errors are reported:
* Notifying a created thread that we are already tracking.
* Notifying a thread death for a thread we don't know about.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218900 91177308-0d34-0410-b5e6-96231b3b80d8
Fix stale comments in new tests.

Dang.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218901 91177308-0d34-0410-b5e6-96231b3b80d8
Limit test to Darwin

Test requres <Foundation/Foundation.h>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218904 91177308-0d34-0410-b5e6-96231b3b80d8
Add FreeBSD test failure decorators


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218908 91177308-0d34-0410-b5e6-96231b3b80d8
Issuing a "type category disable *" command followed by a "type category enable *" command does not honor the order in which categories were previously enabled
While we didn't really promise it would, it seems like it should

This checkin enables just that, and fixes rdar://18527468



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218949 91177308-0d34-0410-b5e6-96231b3b80d8
Stop enabling the std::vector<bool> data formatter for libstdc++, and for that matter, also skip running the test on Darwin. libstdc++ is more relevant on non-Apple platforms

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

Unused parameter warnings emanated for #inclusion of SBDebugger.h. This change fixes them.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218975 91177308-0d34-0410-b5e6-96231b3b80d8
These tests all seem to pass on my machine, marking them as non-Xfail on Darwin, or clang where applicable. Non-Apple folks, if these fail for you, maybe we can put some more helpful markers on them

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219020 91177308-0d34-0410-b5e6-96231b3b80d8
These two tests were failing on the FreeBSD bot - one has to assume because FreeBSD comes with libc++. Skip them

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219032 91177308-0d34-0410-b5e6-96231b3b80d8
Call SBDebugger::Initialize/Terminate from within Create/Destroy.

The above change permits developers using the lldb C++ API to
code applications in a more logical manner.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219102 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r219102 as it caused significant buildbot breakage



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219120 91177308-0d34-0410-b5e6-96231b3b80d8
Made TestCommandScript more robust against new
lines at arbitrary points.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219133 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a problem where LLDB was constructing a TypeImpl marking the dynamic type as the static type. Instead use the TypeImpl() constructor correctly

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219142 91177308-0d34-0410-b5e6-96231b3b80d8
Move ConnectionFileDescriptor to platform-specific Host directory.

As part of getting ConnectionFileDescriptor working on Windows,
there is going to be alot of platform specific work to be done.
As a result, the implementation is moving into Host.  This patch
performs the code move and fixes up call-sites appropriately.

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219143 91177308-0d34-0410-b5e6-96231b3b80d8
Make TimeValue support returning the time in milliseconds.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219144 91177308-0d34-0410-b5e6-96231b3b80d8
Create a ConnectionGenericFile class for Windows.

This is the first step in getting ConnectionFileDescriptor ported
to Windows. It implements a connection against a disk file for
windows. This supports connection strings of the form file://PATH
which are currently supported only on posix platforms in
ConnectionFileDescriptor.

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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219145 91177308-0d34-0410-b5e6-96231b3b80d8
In some cases, the LLDB test suite will be run on a built framework with no sources coming along. In those cases, we want to skip the SB API test case. Add a marker for that, and apply it

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219146 91177308-0d34-0410-b5e6-96231b3b80d8
This test also relies on the SB API headers. Same logic

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219147 91177308-0d34-0410-b5e6-96231b3b80d8
And here's another test case that uses the SB API. Skip it too

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