Add useful documentation to the "target.source-map" setting.
<rdar://problem/11893881>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160442 91177308-0d34-0410-b5e6-96231b3b80d8
Cleaned up incorrect STL std::map comparison code and use the operator == on std::map objects instead of manually implementing the comparisons. Also modified the UnwindPlan::AppendRow() function to take a "const RowSP &" object so we don't have to copy shared pointers when calling this function.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160448 91177308-0d34-0410-b5e6-96231b3b80d8
Removed a hack that gives zero-length arrays a
single element.  Also modified our struct test
case to test this.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160449 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/10998370>

Improved the error message when we can find a function in the current program by printing the demangled name.

Also added the ability to create lldb_private::Mangled instances with a ConstString when we already have a ConstString for a mangled or demangled name. Also added the ability to call SetValue with a ConstString and also without a boolean to indicate if the string is mangled where we will now auto-detect if the string is mangled.




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160450 91177308-0d34-0410-b5e6-96231b3b80d8
Cleaned up the lldb_private::Mangled class to get rid of the tokenizing code that has bit rotted and isn't being used. Also cleaned up the API to the "lldb_private::Mangled" to always take "const ConstString &" arguments instead of both "const ConstString &" and "const char *". 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160466 91177308-0d34-0410-b5e6-96231b3b80d8
<rdar://problem/11908082>

Allow debugserver to match process names that are longer than MAXCOMLEN (16) characters. We do this by digging up argv[0] from another sysctl if the process name supplied is longer than 16 characters.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160487 91177308-0d34-0410-b5e6-96231b3b80d8
Make git not delete my_working_dir. Otherwise a git checkout would be different from an svn checkout.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160506 91177308-0d34-0410-b5e6-96231b3b80d8
Changed ProcessGDBRemote to avoid the reserved
port range.  Also added a comment indicating that
more work is needed.

<rdar://problem/11580051>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160514 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the comment for the lldb_private::PathType enumerations.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160523 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the file header to match the filename.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160524 91177308-0d34-0410-b5e6-96231b3b80d8
Change the things we pass to Mangled::SetValue to be ConstStrings instead of 
char*'s - Greg removed the methods which accept char*'s earlier today.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160539 91177308-0d34-0410-b5e6-96231b3b80d8
Add "vAttachOrWait" to debugserver, so you can implement "attach to the process if it exists OR wait for it" without race conditions.  Use that in lldb.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160578 91177308-0d34-0410-b5e6-96231b3b80d8
Added a fix to LLVM that corrects PC-relative
branch address printing in the x86 disassembler.

<rdar://problem/11925357>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160588 91177308-0d34-0410-b5e6-96231b3b80d8
Handle backslash protection inside unquoted commands like:

(lldb) file hello\ world

correctly.
<rdar://problem/11093911>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160591 91177308-0d34-0410-b5e6-96231b3b80d8
Added a fix that allows newly-constructed objects
to returned by expressions, by removing the
__cxa_atexit call that would normally cause these
objects to be destroyed.  This also prevents many
errors of the form

Couldn't rewrite one of the arguments of a function call
error: Couldn't materialize struct: Structure hasn't been laid out yet

<rdar://problem/11309402>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160596 91177308-0d34-0410-b5e6-96231b3b80d8
Use a more efficient API to tell if a process belongs to springboard or not.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160655 91177308-0d34-0410-b5e6-96231b3b80d8
Sanity check the result of Symbol::GetPrologueByteSize - make sure it is not greater than the size of the Symbol returning it.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160656 91177308-0d34-0410-b5e6-96231b3b80d8
Provide subdir of StopInfoMachException.h in #include.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160704 91177308-0d34-0410-b5e6-96231b3b80d8
Merge branch 'master' into work