Remove some unnecessary headers from Host.cpp

After the recent migration of code out of Host.cpp, many
unnecessary headers were still being included.  This prunes the
include list down to only what is still necessary.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219814 91177308-0d34-0410-b5e6-96231b3b80d8
Allow ThreadLauncher::LaunchThread() to specify a minimum stack byte size when launching threads.

This defaults to zero, which means to use the system default.

NOTE: Windows will need to implement this.

<rdar://problem/18644448>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219821 91177308-0d34-0410-b5e6-96231b3b80d8
Make this test case more resilient in the face of line-table and inlining changes

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219828 91177308-0d34-0410-b5e6-96231b3b80d8
The NSDate formatter should use GMT instead of the local timezone. Fixes rdar://13416848

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219841 91177308-0d34-0410-b5e6-96231b3b80d8
Add synthetic children support for NSIndexPath

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219852 91177308-0d34-0410-b5e6-96231b3b80d8
This should keep the non-Xcode-based builds happy

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219853 91177308-0d34-0410-b5e6-96231b3b80d8
Mechanical change to FastDemangle to make it closer to the lldb
coding conventions.  Lots of whitespace et al changes but no
content changes.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219856 91177308-0d34-0410-b5e6-96231b3b80d8
Fix unused-variable warnings from the clang static analyzer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219863 91177308-0d34-0410-b5e6-96231b3b80d8
Give user_id a default invalid value so we don't
possibly use it uninitialized in a log message later.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219865 91177308-0d34-0410-b5e6-96231b3b80d8
Give old_state a default value so we won't try to restore
an uninitialized value.  In reality the code block that 
initializes it and the code block that restores it will always
match up - but the analyzer doesn't know that and I want to 
quiet it, so...
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219869 91177308-0d34-0410-b5e6-96231b3b80d8
It's possible for this function to not be passed a CompUnit*; add
guards around a few additional uses of the cu local pointer.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219885 91177308-0d34-0410-b5e6-96231b3b80d8
Check that process is non-null before calling a method in it.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219886 91177308-0d34-0410-b5e6-96231b3b80d8
It's possible for long_options[long_options_index].definition to be null
from the previous for() loop - check that it is non-null before trying
to deref it.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219887 91177308-0d34-0410-b5e6-96231b3b80d8
Ah, accidentally committed a patch I didn't mean to.  


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219888 91177308-0d34-0410-b5e6-96231b3b80d8
Guard against NULL derefs.
clang static analyzer fixits.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219889 91177308-0d34-0410-b5e6-96231b3b80d8
Ensure that user_exe_path is non-NULL before derferencing.
We've already created a FileSpec based on this local and 
this code path would never be executed if it is an invalid
FilePath - but the static analyzer doesn't know this and I
want to placate it.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219890 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unused change to argc/argv after long option parsing has been completed.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219891 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unnecessary update of 'name' local.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219892 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a potential null pointer deref & a potential memory leak,
also reformat to conform to the usual lldb coding conventions
a little better.
clang static analyzer fixit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@219893 91177308-0d34-0410-b5e6-96231b3b80d8
Fix accidental over-checking of args in launcherXPCService.


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