Make a general helper function on the AST context to retrieve a type by identifier in the fashion needed by data formatters

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220059 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed the expression parser to handle cases where
GetValueForVariableExpressionPath returns NULL and
doesn't set an error.

<rdar://problem/18682916>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220070 91177308-0d34-0410-b5e6-96231b3b80d8
Do not delete the class, or else multiple tests that try to rely on lldbinline will fail

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220095 91177308-0d34-0410-b5e6-96231b3b80d8
Make the registerEHFrame function do nothing,
because the default implementation isn't meant
to run against a target process.

<rdar://problem/16639561>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220100 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed python API event test cases.

Issues were:
1 - It isn't good to have more than one listener for the process events, just supply a listener at launch instead of making a one then have the process broadcaster add a new listener
2 - run in async mode



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220113 91177308-0d34-0410-b5e6-96231b3b80d8
Fix 4 failing llgs-related tests on a stock Ubuntu 14.04 x86_64 system./

This fix addresses a requirement on some Linux kernels that limits
a PTRACER to be an ancestor of the ptraced process.  The fix in this
case is to have the inferior test exe explicitly allow any ptracer
to attach.

This fixes several ptrace-related issues that I did not see on a modified
kernel we used internally on my team.

See http://reviews.llvm.org/D5846 for details.

This fixes these previously failing tests on stock Ubuntu systems:

FAIL: LLDB (suite) :: TestGdbRemoteProcessInfo.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestGdbRemoteAttach.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestLldbGdbServer.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)

FAIL: LLDB (suite) :: TestGdbRemoteKill.py (Linux vagrant 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220181 91177308-0d34-0410-b5e6-96231b3b80d8
Remove LLDB_DEFAULT_SHELL #define, and determine this at runtime.

Differential Revision: http://reviews.llvm.org/D5805
Reviewed by: Greg Clayton

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220217 91177308-0d34-0410-b5e6-96231b3b80d8
Don't use mkstemp, as it doesn't exist on Windows.

Differential Revision: http://reviews.llvm.org/D5849
Reviewed by: Jason Molenda

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220218 91177308-0d34-0410-b5e6-96231b3b80d8
Skip dsym test on !Darwin

r219978 fixed this test to work on Darwin, and removed the expected
failure decorator, but it then started running (and failing) on FreeBSD.

I'd think @dsym_test should skip the test on all non-Darwin operating
systems. It seems not to be the case, so for now skip it the same way as
done for other @dsym_test tests.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220219 91177308-0d34-0410-b5e6-96231b3b80d8
Don't allow the expression parser to magically
look through 'self' at its ivars.  It produces
surprising results.

<rdar://problem/18698760>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@220220 91177308-0d34-0410-b5e6-96231b3b80d8
Make the "synchronous" mode actually work without race conditions.

There were many issues with synchronous mode that we discovered when started to try and add a "batch" mode. There was a race condition where the event handling thread might consume events when in sync mode and other times the Process::WaitForProcessToStop() would consume them. This also led to places where the Process IO handler might or might not get popped when it needed to be.



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