- Mar 19, 2013
-
-
Enrico Granata authored
This checkin removes the last Cocoa formatters that were implemented in Python and reimplements them in C++. The Python Cocoa formatters are not shipped as part of LLDB anymore, but still exist in the source repository for user reference. Python formatters still exist for STL classes and users can still define their own Python formatters llvm-svn: 177366
-
rdar://problem/13443931Greg Clayton authored
Fixed a crasher in the SourceManager where it wasn't checking the m_target member variable for NULL. In doing this fix, I hardened this class to have weak pointers to the debugger and target in case they do go away. I also changed SBSourceManager to hold onto weak pointers to the debugger and target so they don't keep objects alive by holding a strong reference to them. llvm-svn: 177365
-
Sean Callanan authored
and the JITted code are managed by a standalone class that handles memory management itself. I have removed RecordingMemoryManager and ProcessDataAllocator, which filled similar roles and had confusing ownership, with a common class called IRExecutionUnit. The IRExecutionUnit manages all allocations ever made for an expression and frees them when it goes away. It also contains the code generator and can vend the Module for an expression to other clases. The end goal here is to make the output of the expression parser re-usable; that is, to avoid re-parsing when re-parsing isn't necessary. I've also cleaned up some code and used weak pointers in more places. Please let me know if you see any leaks; I checked myself as well but I might have missed a case. llvm-svn: 177364
-
- Mar 16, 2013
-
-
Sylvestre Ledru authored
When built with cmake, only call the string functions when the previous commands (utils/GetSourceVersion & utils/GetRepositoryPath successed). Otherwise, they fail when not launched from a repository llvm-svn: 177225
-
Enrico Granata authored
llvm-svn: 177219
-
Enrico Granata authored
llvm-svn: 177217
-
Enrico Granata authored
llvm-svn: 177213
-
rdar://problem/13194155Greg Clayton authored
Variables view out of sync with lldb in Xcode is now fixed. Depending on what happened stack frames could get out of date and a stale shared pointer (one that is no longer a current frame in a thread) could end up being used. Now we don't store a weak_ptr to a frame in the ExecutionContextRef class, we just store its stack ID and we always regrab the frame from the thread by stack ID. llvm-svn: 177208
-
Enrico Granata authored
Performance improvements to the IsObjCNil () - we only try to resolve the value if the variable under consideration truly is an “Objective-C thing” This also changes the ClangASTContext to make sure that id is correctly marked as being such an ObjC thing llvm-svn: 177203
-
Jim Ingham authored
in the -a address expression lookup in "image list" so that it actually works. llvm-svn: 177200
-
- Mar 15, 2013
-
-
Jim Ingham authored
resolved command, which it should not do. It should adopt whatever context the regular expression command was called with. This was causing regular expression commands run inside breakpoint commands to adopt the currently selected context, not the one coming from the breakpoint that we hit. <rdar://problem/13411771> llvm-svn: 177195
-
Matt Kopec authored
Rollback r177173. Some OSs may not have ptrace extensions which lldb expects when building. This needs to be accounted for. llvm-svn: 177176
-
Matt Kopec authored
Patch by Ashok Thirumurthi. llvm-svn: 177173
-
Enrico Granata authored
llvm-svn: 177172
-
Enrico Granata authored
Temporarily disabled non-code-running summaries for CF*Dictionary and NSCountedSet llvm-svn: 177171
-
rdar://problem/13194155Enrico Granata authored
Fixing an issue where threads and frames could get out of sync and cause ValueObjects to fail to retrieve their values correctly llvm-svn: 177166
-
Sean Callanan authored
names were broken. <rdar://problem/13422580> llvm-svn: 177139
-
- Mar 14, 2013
-
-
rdar://problem/12537646Greg Clayton authored
lldb remembers not-found source file, setting target.source-map doesn't make it re-check for it. Now this is fixed. Each time the source path remappings get updated, the modification ID in the PathMappingList gets bumped and then we know the re-check for sources. llvm-svn: 177125
-
Jim Ingham authored
llvm-svn: 177119
-
Jim Ingham authored
Add some logging to track cases where “step-in” steps out due to the avoid-regexp and the step-in target. llvm-svn: 177117
-
Matt Kopec authored
-Adds workaround for assertion in lldb for TestEvents.py llvm-svn: 177116
-
rdar://problem/13421412Greg Clayton authored
Many "byte size" members and variables were using a mixture of uint32_t and size_t. Switching over to using uint64_t everywhere. llvm-svn: 177091
-
Sean Callanan authored
when clang asked for them by name. llvm-svn: 177085
-
rdar://problem/13413693Greg Clayton authored
Fixed a crasher in the new DWARF in .o files line table linking function where "back()" could end up being called on an empty std::vector. llvm-svn: 177082
-
Matt Kopec authored
llvm-svn: 177076
-
- Mar 13, 2013
-
-
rdar://problem/13404189Greg Clayton authored
Made the "--reverse" option to "source list" also be able to use the "--count". This helps us implement support for regexp source list command: (lldb) l -10 Which gets turned into: (lldb) source list --reverse --count 10 Also simplified the code that is used to track showing more source from the last file and line. llvm-svn: 176961
-
Jim Ingham authored
Add a target setting (target.use-fast-stepping) to control using the "run to next branch" stepping algorithm. llvm-svn: 176958
-
Jim Ingham authored
The step by running from branch to branch pretty much works with this checkin (at least for x86_64) but is still turned off, it needs more qualification. If you want to play with it, change the initialization of m_use_fast_step to true. llvm-svn: 176923
-
Jim Ingham authored
Handle the "alternate_isa" correctly. llvm-svn: 176922
-
Jim Ingham authored
llvm-svn: 176920
-
Jim Ingham authored
Don't use the fact that we stopped with a "Breakpoint" stop reason to decide to step over the breakpoint. It's better to check directly whether there is a breakpoint site at the PC. llvm-svn: 176919
-
Jim Ingham authored
llvm-svn: 176918
-
Jason Molenda authored
Drop the old f registers from debugserver's register list. Add the NEON 128-bit q registers to debugserver, support reading and writing. Add the new contains / invalidates mappings for the s, d, and q registers so lldb will know what registers overlay what other registers. Change the default format of s and d registers to be floating point instead of hex. Remove some UTF-8 hyphen chars in comments in the ARM register number definition headers. <rdar://problem/13121797> llvm-svn: 176915
-
Jim Ingham authored
Add a missing call to GetFileRangeMap. It's absence was causing debug info from .o files to sometimes not get processed. <rdar://problem/13406310> llvm-svn: 176914
-
- Mar 12, 2013
-
-
Sean Callanan authored
uninitialized memory, to getTrivialTypeSourceInfo, which initializes its memory, when creating trivial TypeSourceInfos. <rdar://problem/13332253> llvm-svn: 176899
-
Matt Kopec authored
llvm-svn: 176879
-
Jim Ingham authored
For file & line breakpoints, if there are subsets of contiguous line table entries for the specified line, set the breakpoint on the first one of each of the contiguous sub-sets of entries, and not all the others. llvm-svn: 176846
-
- Mar 11, 2013
-
-
Matt Kopec authored
llvm-svn: 176833
-
Greg Clayton authored
Buildbot was failing to build. I guess classes declared in implementation files are treated differently on various compilers causing a "friend class Foo;" to fail for forward declared classes in global namespace. llvm-svn: 176823
-
rdar://problem/13372857Greg Clayton authored
Fixed the exception breakpoints to always use a file filter to make setting exception breakpoint efficient. llvm-svn: 176821
-