Re-order the base classes to prevent a crash in Linux.

In the initialization list of IOHandlerConfirm, *this is basically casting
IOHandlerConfirm to its base IOHandlerDelegate and passing it to constructor of
IOHandlerEditline which uses it and crashes as constructor of IOHandlerDelegate
is still not called. Re-ordering the base classes makes sure that constructor of
IOHandlerDelegate runs first.

It would be good to have a test case for this case too.



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

summary of changes:
  Cleanup: Use "line_number" API instead of hardcoded source lines
  Combine child.sendline with previous child.send command.
  test_lldbmi_tokens: Add test for MI tokens.
  test_lldbmi_badpathexe: Remove check for prompt so test for bad path can be enabled.

Patch from dawn@burble.org.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@222838 91177308-0d34-0410-b5e6-96231b3b80d8
Fix several test failures on Linux/FreeBSD caused by compiler configuration and invalid environment.

http://reviews.llvm.org/D6392


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@222845 91177308-0d34-0410-b5e6-96231b3b80d8
Refactor SocketAddress::getaddrinfo - avoid calling IsValid if ::getaddrinfo has failed.
Otherwise, IsValid crashes on assertation in GetFamilyLength.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@222862 91177308-0d34-0410-b5e6-96231b3b80d8
Add test for MI tokens.
This file tests the sequence of digits that can come before
an MI command.

Patch from dawn@burble.org.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@222873 91177308-0d34-0410-b5e6-96231b3b80d8
A little more work on the compact unwind dumper.
UNWIND_X86_64_MODE_STACK_IND mode is almost correct; extra stack
space allocated before the reg saves isn't handled right.  Still a
little wobbily on the file addresses of functions.  Finally understand
how the 6 registers that may be saved are ordered in just 10 its
of space -- the Lehmer code for the registers is derived and then
the sequence is encoded in a variable base number.  Added some
comments with references to what the code is doing so it'll be
easier for others to track down.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@222884 91177308-0d34-0410-b5e6-96231b3b80d8
Merge remote-tracking branch 'tot/master' into gold

trunk@222884