- Aug 06, 2013
-
-
Daniel Malea authored
- add new "--libcxx" parameter to dotest.py to specify path to custom libc++ llvm-svn: 187802
-
Daniel Malea authored
- update TestThreadStepOut.py to work with Intel compilers - fix typo in TestConcurrentEvents llvm-svn: 187801
-
- Aug 05, 2013
-
-
Andrew Kaylor authored
llvm-svn: 187730
-
- Aug 02, 2013
-
-
Matt Kopec authored
llvm-svn: 187660
-
- Aug 01, 2013
-
-
Jason Molenda authored
around was fixed in llvm commit r186846. <rdar://problem/14489274> llvm-svn: 187620
-
Daniel Malea authored
llvm-svn: 187603
-
Ashok Thirumurthi authored
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. llvm-svn: 187600
-
Michael Sartain authored
This fixes threadname logging (--thread-name) Add "-t" to TestLogging.py script to enable threadsafe and disable threadname logging llvm-svn: 187599
-
Stefanus Du Toit authored
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 [...] llvm-svn: 187590
-
Matt Kopec authored
Thanks Stefanus! llvm-svn: 187585
-
Michael Sartain authored
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 llvm-svn: 187545
-
Michael Sartain authored
CR: mkopec llvm-svn: 187542
-
- Jul 31, 2013
-
-
Matt Kopec authored
Also, rework the signed types test to check for signed or char type in the output as char is signed by default. llvm-svn: 187533
-
Daniel Malea authored
Fix lock hierarchy violation in Process (lock ordering of ThreadList mutex 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. llvm-svn: 187522
-
Matt Kopec authored
Patch from Andy Kaylor. llvm-svn: 187520
-
Ashok Thirumurthi authored
TODO: Improve coverage of SBTypeMember and of 'target module dump'. llvm-svn: 187519
-
Matt Kopec authored
llvm-svn: 187507
-
Matt Kopec authored
Also update comment in const variables test to reflect ICC status. llvm-svn: 187501
-
Matt Kopec authored
Set an extra debug flag when testing with ICC so that it generates the correct debug info for inlined tests. llvm-svn: 187500
-
Ashok Thirumurthi authored
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())? llvm-svn: 187499
-
Ashok Thirumurthi authored
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. llvm-svn: 187480
-
Jim Ingham authored
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> llvm-svn: 187473
-
- Jul 30, 2013
-
-
Daniel Malea authored
- 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)! llvm-svn: 187451
-
Daniel Malea authored
- 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 llvm-svn: 187450
-
Daniel Malea authored
- better than failing silently next time the DWARF standard introduces new opcodes! llvm-svn: 187449
-
Sean Callanan authored
in an expression and doesn't ignore the stop. Patch by Jim Ingham. <rdar://problem/14583884> llvm-svn: 187434
-
Stefanus Du Toit authored
Both the parameter itself and the argument to the parameter must be prefixed with -Xlinker so that they are passed properly. llvm-svn: 187432
-
Stefanus Du Toit authored
llvm-svn: 187431
-
Stefanus Du Toit authored
This uses $(CXX) instead of $(CC) to generate the .d files for tests built with Makefiles. llvm-svn: 187426
-
Michael Sartain authored
Add format specifiers to various format ids so we can print thread ids in decimal on Linux and FreeBSD. CC: emaste Differential Revision: http://llvm-reviews.chandlerc.com/D1234 llvm-svn: 187425
-
Ashok Thirumurthi authored
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. llvm-svn: 187423
-
Ed Maste authored
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. llvm-svn: 187422
-
Ed Maste authored
llvm-svn: 187418
-
Ed Maste authored
These tests fail on FreeBSD due to missing build support, the same reason they fail on Linux. llvm-svn: 187416
-
Ed Maste authored
llvm-svn: 187415
-
rdar://problem/14526890Greg Clayton authored
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. llvm-svn: 187395
-
Daniel Malea authored
- newer gcc generates additional debuginfo for function exit (stack object desctruction) which was causing tests to fail - work-around consists of not declaring any stack objects in main() llvm-svn: 187389
-
- Jul 29, 2013
-
-
Ed Maste authored
LLDB requires that the inferior process be stopped before, and remain stopped during, certain accesses to process state. Previously this was achieved with a POSIX rwlock which had a write lock taken for the duration that the process was running, and released when the process was stopped. Any access to process state was performed with a read lock held. However, POSIX requires that pthread_rwlock_unlock() be called from the same thread as pthread_rwlock_wrlock(), and lldb needs to stop and start the process from different threads. Violating this constraint is technically undefined behaviour, although as it happens Linux and Darwin result in the unlock proceeding in this case. FreeBSD follows POSIX more strictly, and the unlock would fail, resulting in a hang later upon the next attempt to take the lock. All read lock consumers use ReadTryLock() and handle failure to obtain the lock (typically by logging an error "process is running"). Thus, instead of using the lock state itself to track the running state, this change adds an explicit m_running flag. ReadTryLock tests the flag, and if the process is not running it returns with the read lock held. WriteLock and WriteTryLock are renamed to SetRunning and TrySetRunning, and (if successful) they set m_running with the lock held. This way, read consumers can determine if the process is running and act appropriately, and write consumers are still held off from starting the process if read consumers are active. Note that with this change there are still some curious access patterns, such as calling WriteUnlock / SetStopped twice in a row, and there's no protection from multiple threads trying to simultaneously start the process. In practice this does not seem to be a problem, and was exposing other undefined POSIX behaviour prior to this change. llvm-svn: 187377
-
Ashok Thirumurthi authored
in LLDB that load the canonical frame address rather than a location list. - Handles the simple case where a CFA can be pulled from the current stack frame. - Fixes more than one hundred failing tests with gcc 4.8! TODO: Use UnwindPlan::GetRowForFunctionOffset if the DWARFExpression needs to be evaluated in a context analogous to a virtual unwind (perhaps using RegisterContextLLDB). - Also adds some comments to DWARFCallFrameInfo whenever I got confused. llvm-svn: 187361
-
- Jul 27, 2013
-
-
Jim Ingham authored
llvm-svn: 187270
-