Avoid LLDB crash upon DW_OP_deref* with empty stack
    
As done in other DW_OP_* cases, return an error if the stack is empty
rather than eventually crashing elsewhere.  Encountered on big-endian
MIPS, where LLVM bugs currently result in invalid .debug_loc data.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199110 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the Visual Studio Windows build

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199111 91177308-0d34-0410-b5e6-96231b3b80d8
This is a macosx specific test case for stepping & setting breakpoints on indirect
and re-exported symbols.  I don't know if Linux has the latter, if it does, we could
probably make this a generic test.  Somebody who knows how to make these gadgets on 
Linux can maybe take a look...


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199134 91177308-0d34-0410-b5e6-96231b3b80d8
Harden the Materializer logic against types that
don't know their bit alignment.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199173 91177308-0d34-0410-b5e6-96231b3b80d8
Fix return type for Windows

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199202 91177308-0d34-0410-b5e6-96231b3b80d8
Fix typeo on memory read command example.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199228 91177308-0d34-0410-b5e6-96231b3b80d8
Remove a compilation warning in the test case main.c file.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199243 91177308-0d34-0410-b5e6-96231b3b80d8
Change the name of the test class for this test (was copy/paste value...)


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199251 91177308-0d34-0410-b5e6-96231b3b80d8
Add a little more logging to the StopInfoBreakpoint::PerformAction.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199289 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a bug where if we stop but nobody says there was a reason for the stop, we would return
control to the user anyway.  This was put in to handle monitors that would say there was no
stop reason when you first attached to them.  But it broke the case where you hit a thread specific
breakpoint on many threads, but NOT the one specified in the breakpoint.  I work around this
by only doing the junky override when the StopID is 0 - i.e. on first attach.

This commit also adds a test for thread specific breakpoints.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199290 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure we correctly merge all N_FUN symbols with non-stab entries even if there are multiple symbols with the same name.

<rdar://problem/15831292>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199344 91177308-0d34-0410-b5e6-96231b3b80d8
If a library has no N_FUN symbols we don't succeed in finding resolver symbols, now we do.

<rdar://problem/15831334>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199345 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed some API drift by making "used" attributes
in a better way.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199408 91177308-0d34-0410-b5e6-96231b3b80d8
Fix bug in Linux remote dynamic loader setup and fix test.

Part 1 changes PlatformLinux::CreateInstance to always create with
is_host=false; that method is only used as the plug-in creator method
associated with the remote-linux platform plugin, and should therefore
always be remote.

Part 1 patch by Steve Pucci.

Part 2: fix a test break on linux.

In test/functionalities/thread/thread_specific_break, when using gcc,
either C99 mode would need to be enabled, or the code would need to
change.  I changed a couple loop variable definitions to conform
to pre-C99 to simplify testing the fix.  The second issue was
the necessity to include -lpthread as a linker option in the Makefile.

Any issues with that part are due to me (Todd Fiala).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199426 91177308-0d34-0410-b5e6-96231b3b80d8
Test new committer permission with one-line trailing whitespace removal.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199432 91177308-0d34-0410-b5e6-96231b3b80d8
Link thread-specific breakpoint test against libpthread


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199448 91177308-0d34-0410-b5e6-96231b3b80d8
Undo r199448, already implemented in r199426



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199449 91177308-0d34-0410-b5e6-96231b3b80d8
Correct logic checking for the first stop ID


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199503 91177308-0d34-0410-b5e6-96231b3b80d8
Rename Platform::GetFile (3-arg version) to GetFileWithUUID

This rename was suggested by gclayton as a way to silence gcc
warnings; the warning is emitted when there is an overloaded function
in a base class (Platform) for which a derived class redefines one of
the overloads but not the other (because doing so hides the other
overload from users of the derived class).  By giving the two methods
different names, the situation is avoided.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@199504 91177308-0d34-0410-b5e6-96231b3b80d8
Avoid the gcc warning -Wno-non-template-friend

To avoid this warning, friend declarations inside template classes
must be declared as templates:
http://stackoverflow.com/questions/4039817/friend-declaration-declares-a-non-template-function



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