- 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
-
Greg Clayton authored
llvm-svn: 177346
-
Jim Ingham authored
llvm-svn: 177343
-
Jim Ingham authored
llvm-svn: 177341
-
- Mar 18, 2013
-
-
Greg Clayton authored
- don't use preprocessor macros - use switch statements - don't put anything in the lldb namespace, use "lldb_perf" namespace. - Pass the action struct into each TestStep() for each step fill in - Modify the ActionWanted class to have accessors to make the continue, next, finish, kill instead of using preproc macros llvm-svn: 177332
-
- 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
-
rdar://problem/13100435Han Ming Ong authored
Don't discount regions that vmmap is not discounting. llvm-svn: 177202
-
Jim Ingham authored
in the -a address expression lookup in "image list" so that it actually works. llvm-svn: 177200
-
- Mar 15, 2013
-
-
Matt Kopec authored
llvm-svn: 177198
-
Jim Ingham authored
llvm-svn: 177196
-
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
Patch by Ashok Thirumurthi. llvm-svn: 177192
-
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
-adds icc to the lit of compilers to run the tests -adds icc test decorators -skip TestAnonymous.py for icc Patch by Ashok Thirumurthi. llvm-svn: 177174
-
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
-
Enrico Granata authored
llvm-svn: 177109
-
rdar://problem/13228487Enrico Granata authored
A test case for the performance of some LLDB formatters Changes and improvements to the testing infrastructure itself llvm-svn: 177100
-
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/13415471Han Ming Ong authored
Don't get dirty page size if we are not going to send it back llvm-svn: 176992
-
Daniel Malea authored
llvm-svn: 176980
-
Daniel Malea authored
llvm-svn: 176978
-
Daniel Malea authored
llvm-svn: 176974
-