Fix LLDB build as a result of upstream LLVM changes.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221378 91177308-0d34-0410-b5e6-96231b3b80d8
Add a setting escape-non-printables that drives whether the StringPrinter should or should not escape sequences such as \t, \n, .. and generally any non-printing character

The recent StringPrinter changes made this behavior the default, and the setting defaults to yes
If you want to change this behavior and see non-printables unescaped (e.g. "a\tb" as "a    b"), set it to false

Fixes rdar://12969594



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221399 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the Objective-C stripped ivar test to ensure
that we load debug information properly.  If we don't
explicitly add-dsym, sometimes Spotlight will help out
and tell us about the dSYM but we shouldn't be relying
on that.  Thanks to Jim for catching this.

<rdar://problem/16424661>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221400 91177308-0d34-0410-b5e6-96231b3b80d8
Allow inline test case to register actually useful teardown hooks by allowing a hook to be passed back the test instance, were it not to be already bound to self. Use this ability to make the reversal of escape-non-printables a teardown hook for added reliability of the testing logic

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221402 91177308-0d34-0410-b5e6-96231b3b80d8
Decouple ProcessWindows from the Windows debug driver thread.

In the llgs world, ProcessWindows will eventually go away and
we'll implement a different protocol.  This patch decouples
ProcessWindows from the core debug loop so that this transition
will not be more difficult than it needs to be.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221405 91177308-0d34-0410-b5e6-96231b3b80d8
cmake: Make the LLDB standalone build work for me

This allows me to generate a Visual Studio solution that builds LLDB if
you have standalone builds of LLVM and Clang lying around.
Unfortunately, you have to pass *four* CMake variables in, but it means
you don't have to take the extra step of installing Clang and LLVM to
some package prefix.

Hopefully this will generate a more usable XCode project too.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221413 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the C++ method name class to be a bit more picky about what it identifies as a C++ method.

This was done by using regular expressions on any basename we find to ensure it is valid.

This fixed setting breakpoints by name with values like '[J]com.robovm.debug.server.apps.SleepLoop.startingUp()V'. This was previously triggering the C++ method name class to identify the string as C++ with a basename of '[J]com.robovm.debug.server.apps.SleepLoop.startingUp' which was obviously incorrect. 

The changes also fixed errors in templated function names like "void foo<int>(...)" where "void foo<int>" was being identified incorrectly as the basename. We also handle more C++ operators correctly now.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221416 91177308-0d34-0410-b5e6-96231b3b80d8
Fix lldb-mi warnings so that it builds when --enable-werror is set.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221452 91177308-0d34-0410-b5e6-96231b3b80d8
fixed minor code indenting  http://reviews.llvm.org/D6127

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221467 91177308-0d34-0410-b5e6-96231b3b80d8
Pick better floating point numbers (ones that can be exactly represented) in floating point instead of something that can't to avoid test suite failures on different devices and architectures.

<rdar://problem/18826900>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221468 91177308-0d34-0410-b5e6-96231b3b80d8
Handle types from the runtime that conform to
protocols.

<rdar://problem/18883778>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221476 91177308-0d34-0410-b5e6-96231b3b80d8
Introduce the notion of "type summary options" as flags that can be passed down to individual summary formatters to alter their behavior in a formatter-dependent way
Two flags are introduced:
- preferred display language (as in, ObjC vs. C++)
- summary capping (as in, should a limit be put to the amount of data retrieved)

The meaning - if any - of these options is for individual formatters to establish
The topic of a subsequent commit will be to actually wire these through to individual data formatters



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221482 91177308-0d34-0410-b5e6-96231b3b80d8
This is a large, but clearical, commit that enables the C++ formatters to take on the additional TypeSummaryOptions argument. It is still not used for anything, but it is now there. Adding support for this extra argument to Python formatters will follow suit

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221486 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure stderr is filtered out in case xcodebuild or xcrun print errors when getting the SDK path and use xcrun to find the SDK path.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221492 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the test to not have to run the binary separately first to get the golden output, use the process STDOUT instead.

This helps this test be able to be run remotely.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221493 91177308-0d34-0410-b5e6-96231b3b80d8
Changed program to go along with the previous commit to allow this test to be run remotely via lldb-platform.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221494 91177308-0d34-0410-b5e6-96231b3b80d8
Fixes so tests compile and run remotely.

Fixes include:
- dont set or change LDFLAGS, but set LD_EXTRAS instead
- fix compilation errors for iOS based builds with objective C code
    - fix test cases to create classes instead of relying on classes from AppKit 
    - rename things where it makes sense


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

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

llvm @ 7fc57f4c
clang @ 507d386a