Mark failing tests in TestDataFormatterObjC on Darwin as XFAIL

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212639 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure the "command regex add" has a unique name for editline history purposes.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212644 91177308-0d34-0410-b5e6-96231b3b80d8
Disable TestDataFormatterStdMap.test_with_dsym_and_run_command on Darwin

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212645 91177308-0d34-0410-b5e6-96231b3b80d8
TestDataFormatterStdVector.test_with_dsym_and_run_command marked XFAIL on Darwin

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212646 91177308-0d34-0410-b5e6-96231b3b80d8
Marked failing Darwin TestProcessLaunch tests as XFAIL

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212647 91177308-0d34-0410-b5e6-96231b3b80d8
Marked failing test XFAIL for TestRegisterVariables.test_with_dsym_and_run_command on Darwin

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212648 91177308-0d34-0410-b5e6-96231b3b80d8
Marked TestObjCMethods failing tests XFAIL, fixed cleanup code, removed now-passing expected failure markers.

All tests matching '-p TestObjCMethods' now are marked correctly for MacOSX, and some
error classes have been removed in cleanup code looking for files that
might not exist due to previous failure.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212650 91177308-0d34-0410-b5e6-96231b3b80d8
Marked failing TestHiddenIvars tests as XFAIL on Darwin.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212654 91177308-0d34-0410-b5e6-96231b3b80d8
Marked failing TestObjCDynamicSBType tests XFAIL on Darwin.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212655 91177308-0d34-0410-b5e6-96231b3b80d8
Marked failing TestObjCDynamicValue tests as XFAIL on Darwin.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212656 91177308-0d34-0410-b5e6-96231b3b80d8
TestRealDefinition tests marked XFAIL on Darwin.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212657 91177308-0d34-0410-b5e6-96231b3b80d8
Marked TestTargetAPI.test_launch_new_process_and_redirect_stdout_with_* as XFAIL on Darwin.

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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212659 91177308-0d34-0410-b5e6-96231b3b80d8
Skip TestCallStopAndContinue and TestCallThatRestarts on Darwin.

These are failing intermittently.

See http://llvm.org/bugs/show_bug.cgi?id=19246 for TestCallThatRestarts.  Also applies to Linux.
See http://llvm.org/bugs/show_bug.cgi?id=20274 for TestCallStopAndContinue.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212660 91177308-0d34-0410-b5e6-96231b3b80d8
Skip tests that are intermittent on Linux, fix gdb-remote port-grabbing code.

Marked skipped for Linux:
TestCallStopAndContinue
TestConvenienceVariables
TestStopHookMultipleThreads

Fixed up gdb-remote port-grabbing code to use a random port in a wide range,
and to allow that to fail more gracefully.  This appears to have solved some
gdb-remote intermittent failing behavior.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212662 91177308-0d34-0410-b5e6-96231b3b80d8
Add a new test in api/multiple-debuggers which tries to create 50
debug sessions simultaneously to expose race conditoin/locking
issues.

This directory has an inferior program, testprog.cpp that has a
couple of functions we can put breakpoints on.

It has a driver program, multi-process-driver.cpp, which links
against the LLDB solib and uses the SB APIs.  It creates 50 pthreads,
creates a debugger on all of them, launches a debug session of the
inferior testprog, hits a couple breakpoints, walks the stack,
continues, etc., and then kills the inferior and ends the debug
session.

A pass is if all fifty debug sessions complete successfully
in the alloted time (~60 seconds).

We may need to tweak this one to work correctly on different
platforms/targets but I wanted to get it checked in to start.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212671 91177308-0d34-0410-b5e6-96231b3b80d8
Add a new 'stresstest' category, set the api/multiple-debuggers test case as a stresstest.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212673 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes for broken Debian build - g++ 4.7 support.

These fix the broken debian lldb build, which is using g++ 4.7.2.

TypeFormat changes:
1. stopped using the C++11 "dtor = default;" construct.
The generated default destructor in the two derived classes wanted
them to have a different throws() semantic that was causing 4.7 to
fail to generate it.  I switched these to empty destructors defined
in the .cpp file.

2. Switched the m_types map from an ordered map to an unordered_map.
g++ 4.7's c++ library supports the C++11 emplace() used by TypeFormat
but the same c++ library's map impl does not.  Since TypeFormat didn't
look like it depended on ordering in the map, I just switched it to
a std::unordered_map.

NativeProcessLinux - g++ 4.7 chokes on lexing the "<::" in
static_cast<::pid_t>(wpid).  g++ 4.8+ and clang are fine with it.
I just put a space in between the "<" and the "::" and that cleared
it up.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212681 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a type mismatch in NativeProcessLinux that shows up in 32-bit builds.

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


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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@212694 91177308-0d34-0410-b5e6-96231b3b80d8
Get the inferior binary's name via the command line argument instead
of hardcoding it.


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