Add typemaps to handle the transformation of Python list of strings into a 'char const **'. This fixes zephyr's issue with SBTarget::Launch without splitting the API into multiple names

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220306 91177308-0d34-0410-b5e6-96231b3b80d8
Fix implicit conversion of NULL constant to 'bool'.


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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220319 91177308-0d34-0410-b5e6-96231b3b80d8
Move anonymous types declared in an anonymous union to
outside the anonymous union as it's a language extension
we don't normally support.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220320 91177308-0d34-0410-b5e6-96231b3b80d8
Expose the type-info flags at the public API layer. These flags provide much more informational content to consumers of the LLDB API than the existing TypeClass. Part of the fix for rdar://18517593

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220322 91177308-0d34-0410-b5e6-96231b3b80d8
The breakpoint location hit counts were getting incremented in
BreakpointLocation::ShouldStop.  That worked but wasn't really right,
since there's nothing to guarantee that won't get called more than
once.  So this change moves that responsibility to the StopInfoBreakpoint
directly, and then it uses the BreakpointSite to actually do the bumping.

Also fix a test case that was assuming if you had many threads running some 
code with a breakpoint in it, the hit count when you stopped would always be
1.  Many of the threads could have hit it at the same time...

<rdar://problem/18577603>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220358 91177308-0d34-0410-b5e6-96231b3b80d8
Added functions to the C++ API, for the benefit of non-8-bit byte architectures.

New functions to give client applications to tools to discover target byte sizes
for addresses prior to ReadMemory. Also added GetPlatform and ReadMemory to the
SBTarget class, since they seemed to be useful utilities to have.

Each new API has had a test case added.

http://reviews.llvm.org/D5867



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220372 91177308-0d34-0410-b5e6-96231b3b80d8
Sort unit test failures by name - submitted for Vince Harron http://reviews.llvm.org/D5904

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220406 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a problem where summary strings could not use a synthetically generated value as part of themselves

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220414 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a problem in the lldbinline logic where C++ files could not be validly compiled



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220420 91177308-0d34-0410-b5e6-96231b3b80d8
Reorganize some of the data formatters code to simplify CXXFormattersFunction.h. Also, add a synthetic child provider for libc++'s version of std::initializer_list<T>

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220421 91177308-0d34-0410-b5e6-96231b3b80d8
Fix CMake build broken after r220421.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220430 91177308-0d34-0410-b5e6-96231b3b80d8
Re-use the GetMatchAtIndex() that uses the StringRef to avoid code duplication and properly detect when a capture is invalid and return false.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220431 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed name lookups for names that contain "::" but aren't actually C++ qualified C++ names.

To do this, I fixed the  CPPLanguageRuntime::StripNamespacesFromVariableName() function to use a regular expression that correctly determines if the name passed to it is a qualfied C++ name like "a::b::c" or "b::c". The old version of this function was treating '__54-[NSUserScriptTask executeWithInterpreter:arguments::]_block_invoke' as a match with a basename of ']_block_invoke'.

Also fixed a case in the by name lookup of functions where we wouldn't look for the full name if we actually tried to call CPPLanguageRuntime::StripNamespacesFromVariableName() and got an empty basename back.

<rdar://problem/18527866>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220432 91177308-0d34-0410-b5e6-96231b3b80d8
More cleanup of the CXXFormatterFunctions header

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220433 91177308-0d34-0410-b5e6-96231b3b80d8
Add a 'type info' command, which can be fed one or more local variables - and it will spew out the list of formatters that apply to each of those variables, if any

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220435 91177308-0d34-0410-b5e6-96231b3b80d8
Reverting r220435. Jim Ingham and I discussed this for a bit, and we came up with a better command model for this feature

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220437 91177308-0d34-0410-b5e6-96231b3b80d8
Fix code where goto jumped over local variable initialization.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220473 91177308-0d34-0410-b5e6-96231b3b80d8
Disable dsym tests on !Darwin hosts

This was missing from r219984

llvm.org/pr21324


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220485 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a problem where an SBType was advertising its static type class even though a dynamic type was available. Solves rdar://18744420

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