- Jun 29, 2013
-
-
Greg Clayton authored
llvm-svn: 185245
-
rdar://problem/14309010Enrico Granata authored
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
-
Jim Ingham authored
llvm-svn: 185233
-
- Jun 28, 2013
-
-
Sean Callanan authored
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
-
Greg Clayton authored
Default parameters are evil and should not be used. Case and point this checkin that fixes implicit conversions that were happening. llvm-svn: 185217
-
Greg Clayton authored
llvm-svn: 185210
-
Greg Clayton authored
llvm-svn: 185208
-
Greg Clayton authored
llvm-svn: 185207
-
Jim Ingham authored
Don't check for "are there any loaded sections" before trying to resolve a 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
-
Ed Maste authored
llvm-svn: 185147
-
- Jun 27, 2013
-
-
Tim Northover authored
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
-
Greg Clayton authored
llvm-svn: 185089
-
Sean Callanan authored
the time when the IRInterpreter ran inside IRForTarget. llvm-svn: 185088
-
Sean Callanan authored
has more than one function with a body. This prevents declarations e.g. of blocks from being passed to the IRInterpreter; they must pass through to the JIT. <rdar://problem/14180236> llvm-svn: 185057
-
Enrico Granata authored
llvm-svn: 185055
-
Sean Callanan authored
correctly. We have been getting lucky since most expressions generate only one section (or the first code section contains all the code), but sometimes it actually matters. <rdar://problem/14180236> llvm-svn: 185054
-
rdar://problem/14195566Greg Clayton authored
Found a race condition when killing an application where the state could be set to exited by the waitpid_thread() _before_ we call task resume (via MachProcess::PrivateResume()) in MachProcess::Kill(). llvm-svn: 185048
-
Sean Callanan authored
bother checking if a region is safe to use. In cases where regions need to be synthesized rather than properly allocated, the memory reads required to determine whether the area is used are - insufficient, because intermediate locations could be in use, and - unsafe, because on some platforms reading from memory can trigger events. All this only makes a difference on platforms where memory allocation in the target is impossible. Behavior on platforms where it is possible should stay the same. <rdar://problem/14023970> llvm-svn: 185046
-
-
Greg Clayton authored
llvm-svn: 185028
-
Greg Clayton authored
Fixed the process_events.py example to be able to specify the platform and also use the debugger's listener. llvm-svn: 185027
-
- Jun 26, 2013
-
-
rdar://problem/14262854Han Ming Ong authored
Match up with top’s implementation on recent Cab as API has changed a bit. Tested the same binary running on Zin as well. Tested ARM binary on iOS as well. llvm-svn: 185017
-
Matt Kopec authored
llvm-svn: 185010
-
Rafael Espindola authored
llvm-svn: 184954
-
Ed Maste authored
Host::GetOSVersion's caller already sets it to UINT32_MAX to determine which version number components are set. llvm-svn: 184953
-
Rafael Espindola authored
llvm-svn: 184948
-
Jason Molenda authored
cache ivars/methods. llvm-svn: 184901
-
Enrico Granata authored
Remove the #define USE_CACHE since the formatters cache has been operational for a while now and has not caused issues that warrant disabling it Also, print the cache hits statistics if the log is in debugging mode vs. LLDB being a debug build - this should make it easier to gather useful metrics on cache success rate for real users llvm-svn: 184900
-
rdar://problem/14266578Enrico Granata authored
"command source" was not properly setting the stop-on-error option llvm-svn: 184899
-
rdar://problem/14243761Enrico Granata authored
The argument to -w (--category) in type * list is a regular expression This caused unhappiness with the gnu-libstdc++ category because of the double ++ Now we check for exact textual match as-well-as regexp matching llvm-svn: 184898
-
rdar://problem/14266411Enrico Granata authored
The semi-unofficial way of returning a status from a Python command was to return a string (e.g. return "no such variable was found") that LLDB would pick as a clue of an error having happened This checkin changes that: - SBCommandReturnObject now exports a SetError() call, which can take an SBError or a plain C-string - script commands now drop any return value and expect the SBCommandReturnObject ("return object") to be filled in appropriately - if you do nothing, a success will be assumed If your commands were relying on returning a value and having LLDB pick that up as an error, please change your commands to SetError() through the return object or expect changes in behavior llvm-svn: 184893
-
Sean Callanan authored
the target of a typedef when asked for a typedef. llvm-svn: 184886
-
- Jun 25, 2013
-
-
Daniel Malea authored
so LLDB does not read off the end of the array. llvm-svn: 184877
-
Ed Maste authored
Release strings are of the form 9.1-RELEASE-p3 or 10.0-CURRENT. llvm-svn: 184876
-
Ed Maste authored
llvm-svn: 184874
-
Ed Maste authored
There's still significant work to do in the FreeBSD port, so no point in a pr for these yet. llvm-svn: 184871
-
Ed Maste authored
It is defined on recent FreeBSD versions, so must not be mutually exclusive with an #elif FreeBSD block. Patch submitted by Robert Millan. Fixes PR#16447. llvm-svn: 184867
-
Ed Maste authored
llvm-svn: 184854
-
Ed Maste authored
llvm-svn: 184850
-
Jason Molenda authored
for any reason, use debugserver own's cputype as a best guess when we reply to the debugger's qProcessInfo packet or when initializing our register tables. <rdar://problem/13406879> llvm-svn: 184829
-