summaryrefslogtreecommitdiffstats
path: root/lldb
Commit message (Collapse)AuthorAgeFilesLines
* A new test case which adds a dSYM to an executable mid-debug sessionJason Molenda2013-08-153-0/+65
| | | | | | | where the executable has been slid. This detects the regression fixed in r188289. llvm-svn: 188443
* <rdar://problem/14717184>Greg Clayton2013-08-132-3/+18
| | | | | | Improve the documentation for the new target.memory-module-load-level setting, and also return an error when there is no nlist data when appropriate. llvm-svn: 188317
* Changed LLVM configure options to reflect the newSean Callanan2013-08-131-1/+1
| | | | | | way of making LLVM not rely on terminfo. llvm-svn: 188305
* When adding a dSYM file, don't remove all sections for the Module's object ↵Greg Clayton2013-08-131-1/+3
| | | | | | file if the symbol vendor used the same object file. llvm-svn: 188289
* Fix a typo.Sylvestre Ledru2013-08-131-1/+1
| | | | | | Patch by Abid, Hafiz llvm-svn: 188270
* Fixed a problem where "image lookup -t" was printingSean Callanan2013-08-131-0/+4
| | | | | | | | | | a bunch of semicolons where the IndirectFieldDecls were. These IndirectFieldDecls should have been implicit. <rdar://problem/14628784> llvm-svn: 188247
* <rdar://problem/14717184>Greg Clayton2013-08-138-693/+771
| | | | | | | | | | | | LLDB needs in memory module load level settings to control how much information is read from memory when loading in memory modules. This change adds a new setting: (lldb) settings set target.memory-module-load-level [minimal|partial|complete] minimal will load only sections (no symbols, or function bounds via function starts or EH frame) partial will load sections + bounds complete will load sections + bounds + symbols llvm-svn: 188246
* Fixed a crash in objc_refs caused by improperSean Callanan2013-08-131-2/+4
| | | | | | | | resolution of class_getSuperclass. <rdar://problem/14662686> llvm-svn: 188240
* Change PowerPC to have the correct byte order.Greg Clayton2013-08-121-15/+15
| | | | llvm-svn: 188189
* Fixed a case where GCC was emitting a DW_TAG_class_type that has a ↵Greg Clayton2013-08-101-0/+24
| | | | | | DW_AT_declaration set to true, yet the class actually contains a definition for the class in that DIE. llvm-svn: 188124
* Disable debugserver builds on non-Mac platformsDaniel Malea2013-08-091-1/+3
| | | | | | - building on other platforms not supported yet llvm-svn: 188102
* Add support for building debugserver with CMake (on Mac OS X)Daniel Malea2013-08-099-4/+146
| | | | | | | | - updated RNBDefs.h to allow version numbers to be passed in via preprocessor defines - update libdebugserver.cpp to compile against latest DNBProcessKill signature Review: http://llvm-reviews.chandlerc.com/D1331 llvm-svn: 188078
* Handle SI_KERNEL signal code for SIGSEGV exceptions.Matt Kopec2013-08-091-0/+6
| | | | | | Patch by Richard Mitton. llvm-svn: 188075
* Ensure that we don't build LLVM with a dependencySean Callanan2013-08-081-1/+3
| | | | | | on curses. llvm-svn: 188015
* Check for division by zero when performing modulusSean Callanan2013-08-081-14/+8
| | | | | | | | operations. <rdar://problem/14656908> llvm-svn: 187996
* Remove unreachable code when thread exits on Linux.Matt Kopec2013-08-081-6/+0
| | | | llvm-svn: 187995
* New settings: target.use-hex-immediates and target.hex-immediates-styleDaniel Malea2013-08-077-13/+115
| | | | | | | | | | - 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! llvm-svn: 187921
* clean up about 22 warnings messagesMichael Sartain2013-08-074-19/+19
| | | | llvm-svn: 187900
* Re-enable check previously disabled due to llvm.org/pr16603Daniel Malea2013-08-071-4/+3
| | | | llvm-svn: 187890
* Test to see if logging is enabled before printingJason Molenda2013-08-061-1/+4
| | | | | | | to a log channel in StopInfoBreakpoint::PerformAction(). <rdar://problem/14651751> llvm-svn: 187833
* Initialize m_leak member variable.Michael Sartain2013-08-061-8/+8
| | | | llvm-svn: 187822
* Fix bug in Host::getLLDBPath() due to misusing TwineDaniel Malea2013-08-061-8/+7
| | | | | | | | | - use SmallString instead - original implementation resulted in incorrect behaviour of lldb -P Fix by Kal Conley! llvm-svn: 187818
* Centralizing Intel compiler detection logic in lldbtest.py to avoid ↵Daniel Malea2013-08-062-1/+5
| | | | | | | | duplication in the future. - Addresses review comments from Stefanus! llvm-svn: 187816
* Support one more flavour of Intel compiler in TestThreadStepOutDaniel Malea2013-08-061-1/+1
| | | | | | - Thanks to Matt Kopec for noticing the failure! llvm-svn: 187815
* Mark remaining failing test on icc as expected fail..Matt Kopec2013-08-061-0/+1
| | | | llvm-svn: 187814
* Allow building test suite with non-default libc++Daniel Malea2013-08-062-1/+23
| | | | | | - add new "--libcxx" parameter to dotest.py to specify path to custom libc++ llvm-svn: 187802
* Test compatibility improvements for ICCDaniel Malea2013-08-063-5/+5
| | | | | | | - update TestThreadStepOut.py to work with Intel compilers - fix typo in TestConcurrentEvents llvm-svn: 187801
* Additional fixes/xfails for icc testsAndrew Kaylor2013-08-053-5/+11
| | | | llvm-svn: 187730
* Mark additional icc test failures as expected fail.Matt Kopec2013-08-022-0/+2
| | | | llvm-svn: 187660
* Re-enable fast stepping for arm targets. The issue being workedJason Molenda2013-08-011-5/+1
| | | | | | | around was fixed in llvm commit r186846. <rdar://problem/14489274> llvm-svn: 187620
* Disable test on Mac OS X due to llvm.org/pr16769Daniel Malea2013-08-011-0/+3
| | | | llvm-svn: 187603
* Updates TestLongjump to ensure that compiler optimizations don't affect theAshok Thirumurthi2013-08-013-2/+8
| | | | | | | | | | | 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
* Fix Linux Host::GetCurrentThreadID() to return real tid (not pthread_t).Michael Sartain2013-08-013-17/+21
| | | | | | | This fixes threadname logging (--thread-name) Add "-t" to TestLogging.py script to enable threadsafe and disable threadname logging llvm-svn: 187599
* Allow test categories to be skipped.Stefanus Du Toit2013-08-011-12/+34
| | | | | | | | | | 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
* Update failing tests on Linux for clang and gcc to only fail on Linux ↵Matt Kopec2013-08-012-6/+5
| | | | | | | | instead of all platforms. Thanks Stefanus! llvm-svn: 187585
* Fix thread name updating in Linux. "thread list" should report correct names ↵Michael Sartain2013-07-3112-41/+163
| | | | | | | | | | | 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 llvm-svn: 187545
* Optimize Host::GetThreadName() to read from /proc/$TID per Matt's suggestion.Michael Sartain2013-07-311-27/+10
| | | | | CR: mkopec llvm-svn: 187542
* Mark some tests as explicitly failing on clang/gcc as they pass on icc.Matt Kopec2013-07-313-6/+9
| | | | | | 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
* Fix lock hierarchy violation in Process (lock ordering of ThreadList mutex ↵Daniel Malea2013-07-311-0/+1
| | | | | | | | | | | | | | 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
* Add the LD_LIBRARY_PATH to target.env-vars for tests expecting libimf.so ↵Matt Kopec2013-07-313-3/+14
| | | | | | | | when testing with ICC. Patch from Andy Kaylor. llvm-svn: 187520
* Adds a test for 'target module dump symfile' to the LLDB suite.Ashok Thirumurthi2013-07-311-0/+4
| | | | | TODO: Improve coverage of SBTypeMember and of 'target module dump'. llvm-svn: 187519
* Mark additional ICC failing tests as expected fail.Matt Kopec2013-07-315-0/+6
| | | | llvm-svn: 187507
* Update break conditions test to have consistent behaviour on all test suite ↵Matt Kopec2013-07-312-2/+2
| | | | | | | | compilers. Also update comment in const variables test to reflect ICC status. llvm-svn: 187501
* Set an extra debug flag when testing with ICC so that it generates the ↵Matt Kopec2013-07-314-0/+16
| | | | | | correct debug info for inlined tests. llvm-svn: 187500
* Updated the LLDB rvalue reference test to cross-reference with a bugzilla ↵Ashok Thirumurthi2013-07-311-3/+10
| | | | | | | | | | | | 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())? llvm-svn: 187499
* Reverts r187449 (report_fatal_error) in favor of a log message sinceAshok Thirumurthi2013-07-311-3/+3
| | | | | | | | 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
* The DisassemblerLLVMC has a retain cycle - the InstructionLLVMC's contained ↵Jim Ingham2013-07-315-21/+53
| | | | | | | | | | | | 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> llvm-svn: 187473
* Assorted test suite fixes as a result of GCC 4.8 validation effortsDaniel Malea2013-07-306-6/+33
| | | | | | | | | | | | - 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
* Fix problematic override _exc_info_to_stringDaniel Malea2013-07-301-4/+6
| | | | | | | - 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
* Add a default case to the LLVM expression opcode switch statementDaniel Malea2013-07-301-0/+4
| | | | | | - better than failing silently next time the DWARF standard introduces new opcodes! llvm-svn: 187449
OpenPOWER on IntegriCloud