Age | Commit message (Collapse) | Author |
|
Change-Id: I50ac43a8d3c2a1d1ac42e107c541e7da36a47464
|
|
These fixes to the LLDB source add manual copy constructor and operator=()
methods for classes that use member bitfields and are used in templated
containers.
The intent is to keep this change (and related LLVM and clang changes)
local to android only until we either fix the compiler or use a new one
for host executable builds.
|
|
This change adds support for building LLDB with the following
build command from the top level:
make FORCE_BUILD_LLVM_COMPONENTS=true ANDROID_BUILD_LLDB=true lldb
There are known issues with the google linux host gcc 4.6.2+ variant
currently used to build host executables. A follow up change will
apply a temporary work-around that will be used until either the
compiler is fixed or a new compiler is used.
Change-Id: I18451f73cbe2264074cd8fba6397680855352a93
|
|
initial-pull-2013-08-07
Initial commit from LLDB source tree, in sync with the
LLVM tree's most recent merge from 2013-08-07.
|
|
|
|
- Immediates can be shown as hex (either Intel or MASM style)
- See TestSettings.py for usage examples
- Verified to cause no regressions on Linux x86_64 (Ubuntu 12.10)
Patch by Richard Mitton!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187921 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187900 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187890 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
to a log channel in StopInfoBreakpoint::PerformAction().
<rdar://problem/14651751>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187833 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187822 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- use SmallString instead
- original implementation resulted in incorrect behaviour of lldb -P
Fix by Kal Conley!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187818 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
duplication in the future.
- Addresses review comments from Stefanus!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187816 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- Thanks to Matt Kopec for noticing the failure!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187815 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187814 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- add new "--libcxx" parameter to dotest.py to specify path to custom libc++
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187802 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- update TestThreadStepOut.py to work with Intel compilers
- fix typo in TestConcurrentEvents
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187801 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187730 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187660 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
around was fixed in llvm commit r186846.
<rdar://problem/14489274>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187620 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187603 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
mapping of source to assembly so that the same test script can be used
with more compilers.
Patch by Andy Kaylor!
Also marks the LLDB test of template parameters as xfail on icc.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187600 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
This fixes threadname logging (--thread-name)
Add "-t" to TestLogging.py script to enable threadsafe and disable threadname logging
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187599 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
This adds a new parameter, --skip-category, that can be used to list
categories that should be skipped. For example, to run all tests except for
Objective-C ones, one can now write:
./dotest.py --skip-category objc [...]
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187590 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
instead of all platforms.
Thanks Stefanus!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187585 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
always now.
Created new LinuxThread class inherited from POSIXThread and removed linux / freebsd ifdefs
Removed several un-needed set thread name calls
CR (and multiple suggestions): mkopec
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187545 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
CR: mkopec
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187542 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
Also, rework the signed types test to check for signed or char type in the output as char is signed by default.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187533 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
and StackFrameList mutex)
- this fix ensures the ThreadList mutex is always locked before the StackFrameList mutex
Situation where deadlock could occur (without this fix):
Thread 1 is in Process::WillResume and locks the ThreadList mutex (on entry), and subsequently calls StackFrameList::Clear() which locks the StackFrameList mutex.
Meanwhile, thread 2 is in Process::RunThreadPlan and calls Thread::SetSelectedFrame() (which locks the StackFrameList mutex) before calling GetSelectedThread (which attempts to lock the ThreadList mutex)
In my testing on both Linux and Mac OS X, I was unable to reproduce any hangs with this patch applied.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187522 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
when testing with ICC.
Patch from Andy Kaylor.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187520 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
TODO: Improve coverage of SBTypeMember and of 'target module dump'.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187519 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187507 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
compilers.
Also update comment in const variables test to reflect ICC status.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187501 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
correct debug info for inlined tests.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187500 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
report,
provide more detail on compiler compatibility, and to illustrate that this is
an issue with expression evaluation.
- Note that clang doesn't emit DW_TAG_const_type, which might be okay if there's
no such thing as a non-const rvalue reference. How about foo(make_int())?
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187499 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
the extra check introduces 22 new test failures with the LLDB clang buildbot.
Note that the unhandled DWARF_OP codes in DWARFExpression::Evaluate don't cause test failures if the check is ignored.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187480 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
in its instruction
list have a shared pointer back to their DisassemblerLLVMC. This checkin force clears the InstructionList
in all the places we use the DisassemblerSP to stop the leaking for now. I'll go back and fix this
for real when I have time to do so.
<rdar://problem/14581918>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187473 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- disable some TestConcurrentEvents cases (which are affected by llvm.org/pr16714 -- watchpoints in multithreaded programs)
- relax number-of-bp-locations check in TestUniqueTypes/TestUnsignedTypes
- skip TestDataFormatterStdVector cases with GCC 4.8 (known failure due to llvm.org/pr15301)
- workaround for race condition in TestHelloWorld.py
- update TestSettings.py to work on distros (like Fedora) that have /bin/cat hardlinked to /usr/bin/cat
After these changes, the test suite should run cleanly against GCC 4.8 (with DWARF v4)!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187451 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- pass through to base-class implementation when raised exception is not from an LLDBTest
- should make the test suite errors a little easier to root-cause
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187450 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
- better than failing silently next time the DWARF standard introduces new opcodes!
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187449 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
in an expression and doesn't ignore the stop.
Patch by Jim Ingham.
<rdar://problem/14583884>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187434 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
Both the parameter itself and the argument to the parameter must be prefixed
with -Xlinker so that they are passed properly.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187432 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187431 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
This uses $(CXX) instead of $(CC) to generate the .d files for tests built
with Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187426 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
decimal on Linux and FreeBSD.
CC: emaste
Differential Revision: http://llvm-reviews.chandlerc.com/D1234
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187425 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
to handle the case of an integer constant (DWARF 3 and later).
- Fixes tests that assert in RecordLayoutBuilder::updateExternalFieldOffset
because LLDB was providing an external AST source with missing member offsets.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187423 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
Instantiate RegisterContext... based on getOS() instead of with
compile-time #ifdef-ery.
The assert() here is unfortunate, but better than crashing with no
explanation.
This change is equivalent to r186865 for elf-core.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187422 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187418 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
These tests fail on FreeBSD due to missing build support, the same reason
they fail on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187416 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187415 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
Fixed a crasher when using memory threads where a thread is sticking around too long and was causing problems when it didn't have a thread plan.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187395 91177308-0d34-0410-b5e6-96231b3b80d8
|