summaryrefslogtreecommitdiffstats
path: root/lldb
Commit message (Collapse)AuthorAgeFilesLines
* Add the frame content dumper function call to one more place.Jason Molenda2013-07-091-0/+2
| | | | llvm-svn: 185906
* Add new information gathering to the lldb & simple backtrace methods:Jason Molenda2013-07-091-5/+30
| | | | | | | print five words of memory at the beginning of the stack frame so it's easier to track where an incorrect saved-fp or saved-pc may have come from. llvm-svn: 185903
* Update exception to match decorator nameEd Maste2013-07-091-1/+1
| | | | llvm-svn: 185891
* Add TestConcurrentEvents test for LLDB's handling of inferior threadsDaniel Malea2013-07-096-0/+746
| | | | | | | | | | | | | | - Test verifies LLDB's handling of inferiors with threads that: hit breakpoints, modfiy variables that have watchpoints set, generate user signals, and crash. - Add a few "stress tests" (with ~100 threads) -- run these with "-l" dotest.py flag. - Fix stop_reason_to_str helper in lldbutil to handle eStopReasonThreadExited. - Add sort_stopped_threads helper to lldbutil to separate thread lists based on stop reason. Logged llvm.org/pr16566 and llvm.org/pr16567 for bugs exposed. llvm-svn: 185889
* Added missing SBModuleSpec.cpp file to the CMakeLists.txtGreg Clayton2013-07-081-0/+1
| | | | llvm-svn: 185878
* Added a way to extract the module specifications from a file. A module ↵Greg Clayton2013-07-0820-106/+842
| | | | | | | | | | | | | specification is information that is required to describe a module (executable, shared library, object file, ect). This information includes host path, platform path (remote path), symbol file path, UUID, object name (for objects in .a files for example you could have an object name of "foo.o"), and target triple. Module specification can be used to create a module, or used to add a module to a target. A list of module specifications can be used to enumerate objects in container objects (like universal mach files and BSD archive files). There are two new classes: lldb::SBModuleSpec lldb::SBModuleSpecList The SBModuleSpec wraps up a lldb_private::ModuleSpec, and SBModuleSpecList wraps up a lldb_private::ModuleSpecList. llvm-svn: 185877
* Use target DisplaySource if available so we can get mixed source and assembly.Michael Sartain2013-07-081-6/+9
| | | | | | This fixes "disassemble -m -n __printf". llvm-svn: 185845
* Pass tid through to ptrace operationsEd Maste2013-07-041-27/+35
| | | | | | This change is equivalent to the Linux threading support. llvm-svn: 185671
* Avoid crash if we fail to resolve process in attachEd Maste2013-07-041-3/+2
| | | | llvm-svn: 185661
* Remove @expectedFailureGcc from TestInlineStepping as function prologue bug ↵Daniel Malea2013-07-031-6/+0
| | | | | | is not reproducible anymore. llvm-svn: 185579
* Skip Test-rdar-9974002 with Clang 3.4 (due to llvm.org/pr16214)Daniel Malea2013-07-031-0/+3
| | | | | | - should resolve remaining failures on clang buildbot llvm-svn: 185576
* Add missing -std=c99 flag to appease GCC 4.6Daniel Malea2013-07-031-0/+1
| | | | | | - this issue was detected on recent GCC buildbot runs llvm-svn: 185571
* Re-apply TestHelp.py fixDaniel Malea2013-07-031-1/+1
| | | | llvm-svn: 185570
* Fix python 2.6 compatibility issue introduced by r184615Daniel Malea2013-07-031-8/+17
| | | | | | | - argparse_compat library does not support reading environment variables - should unblock Linux GCC buildbot from running tests again llvm-svn: 185567
* Revert commits that cause broken builds on GCC buildbotsDaniel Malea2013-07-0314-424/+780
| | | | | | | | - build fails due to PyCallable template definition inside an extern "C" scope This commit reverts 185240, 184893 and 184608. llvm-svn: 185560
* Remove empty files left behind from move to POSIX/Ed Maste2013-07-032-0/+0
| | | | llvm-svn: 185559
* Symbol prologue code checks if funciton lines up with symbol and uses ↵Michael Sartain2013-07-031-45/+58
| | | | | | | | function prologue code with line info if so. Differential Revision: http://llvm-reviews.chandlerc.com/D1082 llvm-svn: 185553
* Update error message; detach-keeps-stopped is also not on FreeBSDEd Maste2013-07-031-2/+2
| | | | llvm-svn: 185549
* Remove lldb's custom copy of the C++ demangler, used only on MacJason Molenda2013-07-036-11248/+0
| | | | | | | | OS X. Testsuite shows no change in results using the system runtime's demangler. <rdar://problem/12029914> llvm-svn: 185510
* Fix ObjectFileELF crc32 code used when no build id is present.Michael Sartain2013-07-031-67/+86
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1081 llvm-svn: 185494
* Workaround for infinite recursion in InitOSO->GetByteSize->GetSymbolVendor.Jim Ingham2013-07-032-10/+9
| | | | llvm-svn: 185491
* Import the builtin type prefix before we import the user expression prefix ↵Greg Clayton2013-07-031-4/+4
| | | | | | so that the user expression prefix can use the uint, int, size_t, and other types without having to define them. llvm-svn: 185488
* Mark the "step over single instruction" plan private in the ↵Jim Ingham2013-07-021-1/+5
| | | | | | | | | StopInfoWatchpoint::PerformAction to ensure that the watchpoint not the step is reported as the stop reason. Also, stash away & restore the current stop reason just so it can't go away on us. llvm-svn: 185474
* Fix build with LLVM_DISABLE_PYTHONEd Maste2013-07-021-1/+3
| | | | llvm-svn: 185466
* Add split symbol support to test makefile & add linux split symbol test case.Michael Sartain2013-07-026-2/+165
| | | | llvm-svn: 185455
* Add SymbolVenderELF to autotools build (for Linux + FreeBSD)Daniel Malea2013-07-021-0/+2
| | | | | | - should resolve the build failures on the linux clang buildbot llvm-svn: 185448
* Sync parts of FreeBSD Process plugin with LinuxEd Maste2013-07-022-42/+102
| | | | | | | | | | | | * Use PseudoTerminal to fix stdio handling / passthrough to the inferior process. * Add log messages equivalent to the Linux ones. * Port changes relating to process creation / termination. This revision contains changes equivalent to (parts of) SVN revisions 109318 142384 166055 168503 169645 177116 182809. llvm-svn: 185442
* Remove obsolete commentEd Maste2013-07-021-4/+1
| | | | llvm-svn: 185441
* Build standalone debug symbol file support on FreeBSD tooEd Maste2013-07-021-1/+1
| | | | llvm-svn: 185425
* Use the "last created watchpoint" rather than asserting on watchpoint ↵Jim Ingham2013-07-024-12/+29
| | | | | | | | commands passing no watchpoint ID. <rdar://problem/14327560> llvm-svn: 185406
* Change the default timeout for KDP communications to be 5 seconds.Jason Molenda2013-07-021-1/+1
| | | | | | <rdar://problem/13793059> llvm-svn: 185400
* Added SymbolVendorELF to the wrong target (lldb-tool), now it is correctly ↵Greg Clayton2013-07-011-2/+2
| | | | | | added to lldb-core. llvm-svn: 185388
* Fixed Xcode project to include SymbolVendorELF.Greg Clayton2013-07-011-0/+14
| | | | llvm-svn: 185386
* Recognize "decltype(nullptr)" as a valid DW_AT_name for ↵Greg Clayton2013-07-011-1/+2
| | | | | | DW_TAG_unspecified_type tags as meaning the C++11 null pointer type. llvm-svn: 185382
* Split symbol support for ELF and Linux.Michael Sartain2013-07-0138-494/+1452
| | | | llvm-svn: 185366
* Formatting cleanup.Jim Ingham2013-07-011-3/+10
| | | | llvm-svn: 185357
* Following the modification introduced in llvm by commit 185311Sylvestre Ledru2013-07-019-16/+24
| | | | | | | | | | | | | | | | | | The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD. This kind of simplification is sometimes useful, but in general it's not correct. As GNU/kFreeBSD is an hybrid system, for kernel-related issues we want to match the build definitions used for FreeBSD, whereas for userland-related issues we want to match the definitions used for other systems with Glibc. The current modification adjusts the build system so that they can be distinguished, and explicitly adds GNU/kFreeBSD to the build checks in which it belongs. Fixes bug #16446. Patch by Robert Millan in the context of Debian. llvm-svn: 185313
* More useful printout of arguments after the recent changes to support ↵Enrico Granata2013-06-291-1/+1
| | | | | | LLDB_TEST_ARGUMENTS llvm-svn: 185246
* Fixed SBProcess::RemoteLaunch() to use the platform executable path. Patch ↵Greg Clayton2013-06-291-1/+1
| | | | | | from Sebastien Metrot. llvm-svn: 185245
* <rdar://problem/14309010>Enrico Granata2013-06-281-1/+2
| | | | | | | | OS Plugins' __init__ method takes two arguments: (self,process) I was erroneously passing the session_dict as well as part of my PyCallable changes and that caused plugins to fail to work llvm-svn: 185240
* Missed a place where we have to pass the source location twice to ↵Jim Ingham2013-06-281-0/+1
| | | | | | FunctionDecl::Create. llvm-svn: 185233
* Hitherto the IRForTarget infrastructure has mainlySean Callanan2013-06-282-197/+277
| | | | | | | | | | | | | | | | | | | | | been suitable for preparing a single IR function for operation in the target. However, using blocks and lambdas creates other IR functions that also need to be processed. I have audited IRForTarget to make it process multiple functions. Where IRForTarget would add new instructions at the beginning of the main expression function, it now adds them on-demand in the function where they are needed. This is enabled by a system of FunctionValueCaches, which invoke a lambda to create or derive the values as needed, or report the result of that lambda if it has already been called for the given function. <rdar://problem/14180236> llvm-svn: 185224
* Default parameters are evil and should not be used. Case and point this ↵Greg Clayton2013-06-282-9/+18
| | | | | | checkin that fixes implicit conversions that were happening. llvm-svn: 185217
* FileSpec destructor doesn't need to be virtual.Greg Clayton2013-06-281-3/+0
| | | | llvm-svn: 185210
* ArchSpec doesn't need a virtual destructor.Greg Clayton2013-06-281-3/+0
| | | | llvm-svn: 185208
* PathMappingList doesn't need a virtual destructor.Greg Clayton2013-06-281-1/+0
| | | | llvm-svn: 185207
* Don't check for "are there any loaded sections" before trying to resolve a ↵Jim Ingham2013-06-281-3/+0
| | | | | | | | | | breakpoint site. We've already got a process, and any breakpoints with section relative addresses won't resolve their load addresses so they will error out at that point. <rdar://problem/13900130> llvm-svn: 185170
* Move sys/sysctl.h include after its dependency sys/types.hEd Maste2013-06-281-1/+1
| | | | llvm-svn: 185147
* Prevent race in when stopping a "read thread"Tim Northover2013-06-271-2/+0
| | | | | | | | | | | Both StopReadThread and the thread being stopped set the thread id to 0 after m_read_thread_enabled was set to false. If the thread being stopped got there first then StopReadThread called pthread_join on an invalid thread number. This is not a Good Thing, Should fix a fairly regular segfault when quitting on Linux. llvm-svn: 185107
* A bit more cleanup on the process_events.py to use best practices for event ↵Greg Clayton2013-06-271-54/+72
| | | | | | handling. llvm-svn: 185089
OpenPOWER on IntegriCloud