Silence -Winconsistent-missing-override warnings.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223972 91177308-0d34-0410-b5e6-96231b3b80d8
Fix a bunch of [-Werror,-Winconsistent-missing-override] warnings.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223973 91177308-0d34-0410-b5e6-96231b3b80d8
Fix some test failures for Windows.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223982 91177308-0d34-0410-b5e6-96231b3b80d8
Disable the remaining ProcessIO test on Windows.

This still relies on PutSTDIN, just indirectly.  So it was hanging
due to not being able to get stdin from the test.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223983 91177308-0d34-0410-b5e6-96231b3b80d8
Removed the assertion that we can find any named
Objective-C type in the runtime.  This is not actually
true, it's entirely possible to say

@class DoesntExist;

@interface DoesExist {
  DoesntExist *whyyyyy;
}
@end

and this code will not only compile but also run.  So
this assertion will fire in situations users might
encounter.

I left the assertion enabled in debug mode, because we
could still catch a case we're not aware of (i.e., a
class that we *ought* to have found but where somehow
we mis-parsed the name).

<rdar://problem/19151914>


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224038 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure we print errors for python OperatingSystem plug-ins for when things go wrong. We also dump the dictionary or collection that had errors so the user can see which info was wrong.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224082 91177308-0d34-0410-b5e6-96231b3b80d8
Make sure if a thread specifies a 'register_data_addr' in a python operating system plug-in, that is is used to fetch the register values.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224083 91177308-0d34-0410-b5e6-96231b3b80d8
Add a method to disable the Windows crash / assert dialogs.

When running the test suite on Windows, we can't have Windows popping
up dialogs when LLDB crashes in native code because it will hang
the test suite.  This patch silences those dialogs by checking an
environment variable at startup and configuring Windows based on
its value.

This patch also adds an environment variable to force inferiors to
never spawn in their own console window.  This is useful to prevent
new window spawm when running the test suite.

Reviewed by: Scott Graham

Differential Revision: http://reviews.llvm.org/D6628

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224137 91177308-0d34-0410-b5e6-96231b3b80d8
Do not set the live address of a const result child if its parent has an invalid live address

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224142 91177308-0d34-0410-b5e6-96231b3b80d8
Do attempt to ask the impl_backend for the live address of a const result if none is stored in the object itself; this is for symmetry with GetAddressOf()

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224143 91177308-0d34-0410-b5e6-96231b3b80d8
The so-called "trivial implementation" has been with us for a few years now. It's probably safe to assume it works.. so remove the #if stuff


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224147 91177308-0d34-0410-b5e6-96231b3b80d8
Add a test case to validate that AddressOf() and GetLoadAddress() work on a ValueObjectConstResult. This test passing is the baseline of functionality we want to ensure for our const results

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224151 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up this test case

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224157 91177308-0d34-0410-b5e6-96231b3b80d8
Some more cleanup of the ValueObjectConstResultImpl code. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224160 91177308-0d34-0410-b5e6-96231b3b80d8
SyntheticChildrenFrontEnd::* should also be built when python is disabled

Summary:
This moves
- SyntheticChildrenFrontEnd::CreateValueObjectFromExpression
- SyntheticChildrenFrontEnd::CreateValueObjectFromAddress
- SyntheticChildrenFrontEnd::CreateValueObjectFromData
outside the `#ifndef LLDB_DISABLE_PYTHON` since it doesn't seem to depend on python being available and indeed breaks the build when python is disabled.

Reviewers: granata.enrico

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D6646

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224170 91177308-0d34-0410-b5e6-96231b3b80d8
Tests will timeout if they exceed time limit.

Default time limit is 5 minutes.

Override the default timeout of 5 minutes with LLDB_TEST_TIMEOUT.
LLDB_TEST_TIMEOUT=10m

Override the timeout for individual tests with LLDB_[TESTNAME]_TIMEOUT.
E.g., LLDB_TESTCONCURRENTEVENTS_TIMEOUT=2m

Set to "0" to run without timeout.

Submitted for Chaoren Lin



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224171 91177308-0d34-0410-b5e6-96231b3b80d8
Move a bunch of method implementations over to the C++ file; remove the need for a few includes. All in all, good stuff

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224174 91177308-0d34-0410-b5e6-96231b3b80d8
Make the platform process connect path less chatty.

Summary:
If a stream contains an empty string, no need to append it to the output
(otherwise we end up with a blank line). Also, no need to print a status
message when the state changes to connected, as this string brings no
information -- "Process 0" does not mean anything to the user, and the
process being connected has no meaning either.

Test Plan:
Connect to a remote linux platform mode daemon with `platform select
remote-linux` followed by `platform connect ...`, create a target and
run it, observe the output. Also, run the full test suite (dosep.py).

Before:
    (lldb) [...] connect, etc.
    (lldb) r
    Process 0 connected

    Process 5635 launched: '/Users/sas/Source/test' (x86_64)
    Process 5635 stopped

After:
    (lldb) [...] connect, etc.
    (lldb) r
    Process 5635 launched: '/Users/sas/Source/test' (x86_64)
    Process 5635 stopped

Reviewers: tfiala, vharron, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D6593

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224188 91177308-0d34-0410-b5e6-96231b3b80d8
Replace ioctl with select to reduce processor usage by lldb-mi on OSX.
This saga started with a hang on OSX. 2 solutions were proposed.
1) 'select' based solution works ok on OSX but slows down test completion time
on Linux many times.
2) 'ioctl' base solution also works but it causes heavy processor usage on OSX
as reported by Ilia K.

But as the original hang did not occur on Linux so this commit re-introduces the
'select' in conditional code so that it only runs for OSX. There is no need for
this 'fix' to run on Linux.

Initial patch by Ilia K <ki.stfu@gmail.com>. A few changes were made by me. 



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@224258 91177308-0d34-0410-b5e6-96231b3b80d8
Provide a SBFrame.register/.reg helper on the Python side of SBFrame to vend a flattened view of registers

Our actual view of registers is a set of register sets, each one of which contains a subset of the actual registers
This makes trivial scripting operations tedious ("I just want to read r7!")

This helper allows things like: print lldb.frame.reg["r7"]

Fixes rdar://19185662



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