A fix for: http://llvm.org/bugs/show_bug.cgi?id=19241 

When there was no process, the expression options were set to not ignore breakpoints. This causes debug info to be generated and causes errors when evaluating simple expressions.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204745 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed up intermittently failing tests to skip on Linux.

Also added 'import sys' on some tests that are using non-standard
unittest2.skipUnless blocks with code that is intended to do things
that we have more specializes @* attributes for.  These skip
conditions were failing to execute due to missing import, causing
darwin-only tests to run on Linux regardless.  Will file a bug for
that separately.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204747 91177308-0d34-0410-b5e6-96231b3b80d8
Improve Elf object file UUID calculation performance.

This change makes significant improvements in the performance of
calculating a UUID within ObjectFileELF, and handles both running
processes and core files correctly. This does lazy evaluation of
UUID generation and caches the result when calculated.

Change by Piotr Rak.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204749 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the IRInterpreter to ignore call instructions
that call debug-information intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204750 91177308-0d34-0410-b5e6-96231b3b80d8
Added a missing "break" to avoid falling through
when other cases get added.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204751 91177308-0d34-0410-b5e6-96231b3b80d8
Move calls to DisableAllBreakpointSites() and m_thread_list.DiscardThreadPlans() into base Process::Destroy() instead of in subclass DoDestroy() methods.


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

Add a GetFoundationVersion() to AppleObjCRuntime
This API is used to return and cache the major version of Foundation.framework, which is potentially a useful piece of data to key off of to enable or disable certain ObjC related behaviors (especially in data formatters)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204756 91177308-0d34-0410-b5e6-96231b3b80d8
Make ProcessLinux return true for DetachRequiresHalt() because PTRACE_DETACH requires this.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204759 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure this test has a looser dependency on the exact class generated here.. it is going to be some sort of NS-provided String, but let's not bet on the details

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

For small structs, the frame format now prints them as one-liners
This follows the same definition that frame variable does for deciding what a "small struct" is, and as such should be fairly consistent with the variable display in general



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204762 91177308-0d34-0410-b5e6-96231b3b80d8
Add a test case for the previous commit



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204763 91177308-0d34-0410-b5e6-96231b3b80d8
Made the Materializer not write back variables
if they didn't change, just like it does for
registers.  This makes life easier for kernel
debugging and any other situation where values
are read-only.

<rdar://problem/16367795>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204764 91177308-0d34-0410-b5e6-96231b3b80d8
Remove annotation for llvm.org/pr19241

The issue has been fixed by r204745 and r204750


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204779 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed a crasher when using 1 character type names in “type summary”, “type synthetic” and “type filter”.

Also fixed a missing return when making python summary functions on the fly.

<rdar://problem/16265491>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204867 91177308-0d34-0410-b5e6-96231b3b80d8
Add the "lldb_complete" .editrc command back in case veteran users of LLDB had .editrc key mappings in their ~/.editrc.

<rdar://problem/16279283>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204870 91177308-0d34-0410-b5e6-96231b3b80d8
Link in the llvm/lib/ProfileData build product.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@204895 91177308-0d34-0410-b5e6-96231b3b80d8
Wait for the reply from the 'D' detach packet before tearing down the debugger.  Avoids a race
condition where we could end up killing debugserver (and thus the target) before it had a chance
to detach.
Also fix debugserver to send the OK AFTER it detaches to avoid the same race condition.

<rdar://problem/16202713>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@205043 91177308-0d34-0410-b5e6-96231b3b80d8
Add the ability from the SB API's to set the "one thread" timeout
for expression evaluations that try one and then all threads.

<rdar://problem/15598528>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@205060 91177308-0d34-0410-b5e6-96231b3b80d8
Link against the zlib solib, required to build against TOT llvm.


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

These changes were written by Greg Clayton, Jim Ingham, Jason Molenda.

It builds cleanly against TOT llvm with xcodebuild.  I updated the
cmake files by visual inspection but did not try a build.  I haven't
built these sources on any non-Mac platforms - I don't think this
patch adds any code that requires darwin, but please let me know if
I missed something.

In debugserver, MachProcess.cpp and MachTask.cpp were renamed to
MachProcess.mm and MachTask.mm as they picked up some new Objective-C
code needed to launch processes when running on iOS.


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