Emit a warning diagnostic if a symbol was promoted
to a variable.  This helps people figure out what
happened if they tried to do something to the variable
and it didn't work because we gave it the default type
of void*.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201737 91177308-0d34-0410-b5e6-96231b3b80d8
Add newline at end of file, clang compiler warning.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201743 91177308-0d34-0410-b5e6-96231b3b80d8
Don't have both lldb and debugserver call waitpid on the target process.  This sets up a race condition,
and if lldb wins, then debugserver won't get the correct error status to lldb.

<rdar://problem/16030008>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201744 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "Track Clang virtualFileSystem change (r201618)"

This reverts commit r201671, because the clang changes have been reverted.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201759 91177308-0d34-0410-b5e6-96231b3b80d8
Improve the handling of stop-reply packet when it does not contain
thread information.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201773 91177308-0d34-0410-b5e6-96231b3b80d8
Add example target description file for QEMU for x86-64.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201790 91177308-0d34-0410-b5e6-96231b3b80d8
On FreeBSD "x86_64" is spelled "amd64"


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201802 91177308-0d34-0410-b5e6-96231b3b80d8
There’s no need to call posix_spawnp_setbinpref_np when we are launching in the shell.  That only sets the architecture of the shell, we use “arch —arch” to actually pick the binary we actually want to launch’s architecture.

<rdar://problem/16103187>

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201831 91177308-0d34-0410-b5e6-96231b3b80d8
Add a new idea of a "fallback" UnwindPlan to the RegisterContextLLDB
class.  If we try to unwind a stack frame to find a caller stack
frame, and we fail to get a valid-looking frame, AND if the UnwindPlan
we used is an assembly-inspection based UnwindPlan, then we should 
throw away the assembly-inspection UnwindPlan and try unwinding with 
the architectural default UnwindPlan.  

This code path won't be taken if eh_frame unwind instructions are available -
lldb will always prefer those once it's off the zeroth frame.

The problem I'm trying to fix here is the class of unwind failures that
happen when we have hand-written assembly on the stack, with no eh_frame,
and lldb's assembly parser fails to understand the assembly.  People usually
write their hand-written assembly to follow the frame-pointer-preserving
conventions of the platform so the architectural default UnwindPlan will 
often work.  We won't have the spill location for most of the non-volatile
registers if we fall back to this, but it's better than stopping the unwind
prematurely.

This is a bit of a tricky change that I believe is correct, but if we get
unwinds that go of into the weeds / unwind bogus frames at the end of the
stack, I'll need to revisit it.

<rdar://problem/16099440> 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201839 91177308-0d34-0410-b5e6-96231b3b80d8
remove dead code + simplify a little

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201865 91177308-0d34-0410-b5e6-96231b3b80d8
Don't crash when we build with python enabled, yet we don't link in the lldb::SB* API layer. 

Previously the lldb-platform and lldb-gdbserver would crash.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201872 91177308-0d34-0410-b5e6-96231b3b80d8
Remove the packet speed lines that were "#if 0"'ed out.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201873 91177308-0d34-0410-b5e6-96231b3b80d8
Add support for the qSpeedTest packet so we can test packet speeds and data throughput.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201874 91177308-0d34-0410-b5e6-96231b3b80d8
Improved the GDBRemoteCommunicationClient::TestPacketSpeed() function so it tests how long it takes to send a 4MB buffer from the REMOTE GDB server to LLDB.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201875 91177308-0d34-0410-b5e6-96231b3b80d8
We have to call waitpid on the lldb side for Mac OS X (even though we've successfully called it
on the debugserver side) when we kill a process or it leaves a zombie around.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201896 91177308-0d34-0410-b5e6-96231b3b80d8
Oops, probably ought to turn on that fix...


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201897 91177308-0d34-0410-b5e6-96231b3b80d8
Stop skipping test on FreeBSD that no longer fails

llvm.org/pr17232


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@201928 91177308-0d34-0410-b5e6-96231b3b80d8
Merge http://llvm.org/git/lldb into develop_35