Add a new target.process.memory-cache-line-size to change the size of
lldb's internal memory cache chunks that are read from the remote
system.  For a remote connection that is especially slow, a user may
need to reduce it; reading a 512 byte chunk of memory whenever a
4-byte region is requested may not be the right decision in these
kinds of environments.
<rdar://problem/18175117> 


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217083 91177308-0d34-0410-b5e6-96231b3b80d8
rdar://problem/18221417
Include compressed memory as part of gauge memory.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217084 91177308-0d34-0410-b5e6-96231b3b80d8
ASan malloc/free history threads

Reviewed at http://reviews.llvm.org/D4596



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217116 91177308-0d34-0410-b5e6-96231b3b80d8
Use the process' ReadCStringFromMemory from DYLDRendezvous::ReadStringFromMemory.

Tested:
Ubuntu 14.04 x86_64, clang-3.5-built lldb.
MacOSX 10.9.4, Xcode6-Beta7-built lldb.

Visual packet inspection on lldb <-> llgs shows significant reduction in overly-verbose
memory read traffic on start-up when scanning shared library info.

Change by Stephane Sezer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217153 91177308-0d34-0410-b5e6-96231b3b80d8
Fix build break on Ubuntu 12.04 with ARM64 changes.

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

Tested:
Ubuntu 12.04 x86_64, gcc-4.9.1-built lldb
Ubuntu 14.04 x86_64, clang-3.5-build lldb



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217169 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up lldb build for llvm r217172.

Changes reference to 4th element in version_min_command from reserved to sdk.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217185 91177308-0d34-0410-b5e6-96231b3b80d8
Add error report when Module::GetObjectFile() fails to find a plugin to open an object file.

Change by Stephane Sezer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217251 91177308-0d34-0410-b5e6-96231b3b80d8
Set the process vendor in GDBRemoteCommunicationClient::GetCurrentProcessInfo.

Change by Stephane Sezer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217252 91177308-0d34-0410-b5e6-96231b3b80d8
Properly handle the DYLD attach step for GDB remotes.

Change by Stephane Sezer.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217253 91177308-0d34-0410-b5e6-96231b3b80d8
[lldb] Abstract a superclass for a generic thread container.

Reviewed at
http://reviews.llvm.org/D5200
and
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140901/012799.html



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

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217273 91177308-0d34-0410-b5e6-96231b3b80d8
Introduce the notion of a "type validator" formatter

Type Validators have the purpose of looking at a ValueObject, and making sure that there is nothing semantically wrong about the object's contents
For instance, if you have a class that represents a speed, the validator might trigger if the speed value is greater than the speed of light

This first patch hooks up the moving parts in the formatters subsystem, but does not link ValueObjects to TypeValidators, nor lets the SB API be exposed to validators
It also lacks the notion of Python validators



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217277 91177308-0d34-0410-b5e6-96231b3b80d8
Add TypeValidator.cpp to cmake build.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217280 91177308-0d34-0410-b5e6-96231b3b80d8
Start plumbing the type validator logic through to the ValueObjects; allow a ValueObject to have a validator, to update it from the FormatManager, and to retrieve (and cache) the result of the validation

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217282 91177308-0d34-0410-b5e6-96231b3b80d8
Add more logging to DynamicLoaderPOSIXDYLD, especially around rendezvous handling.

Covers more of the behavior of rendezvous breakpoint handling and other
dynamic loader aspects, all on the 'enable log lldb dyld' log channel.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217283 91177308-0d34-0410-b5e6-96231b3b80d8
Added logging of the POSIX-DYLD rendezvous address (i.e. the info_location address)


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217287 91177308-0d34-0410-b5e6-96231b3b80d8
Expose ThreadCollection in SB API

Reviewed at
http://reviews.llvm.org/D5218
and
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140901/012828.html



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217296 91177308-0d34-0410-b5e6-96231b3b80d8
Fix CMake configuration (forgot to add a file in the last commit).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217297 91177308-0d34-0410-b5e6-96231b3b80d8
Expose the ability to retrieve the result of a type validator via the SB API. To keep it simple, do not expose the pair, but just return a NULL string for success, and a non-NULL string for error; If we were to decide to expose the pair, we would need an SBTypeValidatorResult, which is fine, but it should come as part of exposing type validators through the SB API rather than as a one-off thing. So, KISS for now

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@217299 91177308-0d34-0410-b5e6-96231b3b80d8
Implement ASan history threads in SB API

Reviewed at
http://reviews.llvm.org/D5219
and
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140901/012809.html



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