- Feb 24, 2012
-
-
Enrico Granata authored
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation. A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit. The formatters are contained in a category named "AppKit", which is not enabled at startup. llvm-svn: 151300
-
Enrico Granata authored
The formatter for NSString is an improved version of the one previously shipped as an example, the others are new in design and implementation. A more robust and OO-compliant Objective-C runtime wrapper is provided for runtime versions 1 and 2 on 32 and 64 bit. The formatters are contained in a category named "AppKit", which is not enabled at startup. llvm-svn: 151299
-
- Feb 23, 2012
-
-
Jason Molenda authored
llvm-svn: 151293
-
Jason Molenda authored
llvm-svn: 151292
-
Enrico Granata authored
typemaps to allow Python to invoke the new SBModule::GetVersion() API. Memory management is taken care of automatically so that Python users can simply say my_list = my_module.GetVersion() and receive a new list with the version numbers, if any, inside. llvm-svn: 151271
-
Sean Callanan authored
llvm-svn: 151221
-
Sean Callanan authored
Objective-C classes. This allows LLDB to find ivars declared in class extensions in modules other than where the debugger is currently stopped (we already supported this when the debugger was stopped in the same module as the definition). This involved the following main changes: - The ObjCLanguageRuntime now knows how to hunt for the authoritative version of an Objective-C type. It looks for the symbol indicating a definition, and then gets the type from the module containing that symbol. - ValueObjects now report their type with a potential override, and the override is set if the type of the ValueObject is an Objective-C class or pointer type that is defined somewhere other than the original reported type. This means that "frame variable" will always use the complete type if one is available. - The ClangASTSource now looks for the complete type when looking for ivars. This means that "expr" will always use the complete type if one is available. - I added a testcase that verifies that both "frame variable" and "expr" work. llvm-svn: 151214
-
Johnny Chen authored
llvm-svn: 151212
-
- Feb 22, 2012
-
-
Jim Ingham authored
convenient to provide a log callback right when the debugger is created. llvm-svn: 151209
-
Greg Clayton authored
llvm-svn: 151202
-
Benjamin Kramer authored
llvm-svn: 151199
-
Benjamin Kramer authored
Revert the RTTI change from r151187. It make lldb compile with g++ 4.4 but it doesn't link anymore. The bug seems to be fixed in g++ 4.5. llvm-svn: 151198
-
Benjamin Kramer authored
llvm-svn: 151191
-
Greg Clayton authored
subclasses if the object files support version numbering. Exposed this through SBModule for upcoming data formatter version checking stuff. llvm-svn: 151190
-
Benjamin Kramer authored
llvm-svn: 151187
-
Johnny Chen authored
llvm-svn: 151182
-
Greg Clayton authored
llvm-svn: 151175
-
Benjamin Kramer authored
Python.h is a bad c++ citizen and overwrites some functions with its own macros. This conflicts with libc++'s locale header. I did some refactoring to use Python.h only where it's actually needed a few months ago so the unnecessary includes can be removed now. llvm-svn: 151168
-
Greg Clayton authored
to the __PAGEZERO segment on darwin. The dynamic loader now correctly doesn't slide __PAGEZERO and it also registers it as an invalid region of memory. This allows us to not make any memory requests from the local or remote debug session for any addresses in this region. Stepping performance can improve when uninitialized local variables that point to locations in __PAGEZERO are attempted to be read from memory as we won't even make the memory read or write request. llvm-svn: 151128
-
Jason Molenda authored
calls to dpeend on WITH_SPRINGBOARD and WITH_LOCKDOWN instead of __arm__. Add an RNBSocket::useFD method. llvm-svn: 151119
-
Johnny Chen authored
llvm-svn: 151116
-
- Feb 21, 2012
-
-
Jason Molenda authored
llvm-svn: 151085
-
Johnny Chen authored
llvm-svn: 151077
-
Benjamin Kramer authored
llvm-svn: 151074
-
Greg Clayton authored
llvm-svn: 151072
-
Benjamin Kramer authored
llvm-svn: 151071
-
Jim Ingham authored
llvm-svn: 151069
-
Greg Clayton authored
incorrect values and also fire an assertion. llvm-svn: 151066
-
Jason Molenda authored
is not available (LLDB_DISABLE_PYTHON is defined). Change build-swig-Python.sh to emit an empty LLDBPythonWrap.cpp file if this build is LLDB_DISABLE_PYTHON. Change the "Copy to Xcode.app" shell script phase in the lldb.xcodeproj to only do this copying for Mac native builds. llvm-svn: 151035
-
Greg Clayton authored
bundle that didn't contain an executable. llvm-svn: 151034
-
Jim Ingham authored
Also add SB API's to set this callback, and to enable the log channels. llvm-svn: 151018
-
Charles Davis authored
llvm-svn: 151013
-
Greg Clayton authored
objects for the backlink to the lldb_private::Process. The issues we were running into before was someone was holding onto a shared pointer to a lldb_private::Thread for too long, and the lldb_private::Process parent object would get destroyed and the lldb_private::Thread had a "Process &m_process" member which would just treat whatever memory that used to be a Process as a valid Process. This was mostly happening for lldb_private::StackFrame objects that had a member like "Thread &m_thread". So this completes the internal strong/weak changes. Documented the ExecutionContext and ExecutionContextRef classes so that our LLDB developers can understand when and where to use ExecutionContext and ExecutionContextRef objects. llvm-svn: 151009
-
Enrico Granata authored
llvm-svn: 150997
-
- Feb 20, 2012
-
-
Enrico Granata authored
llvm-svn: 150992
-
Johnny Chen authored
Patch by Dmitry Vyukov <dvyukov@google.com>. Also add the relevant files to the Xcode project. llvm-svn: 150991
-
Johnny Chen authored
Patch to fix the main.cpp compile error submitted by Dmitry Vyukov <dvyukov@google.com>. Also add a Makefile, plus some modification to main.cpp. llvm-svn: 150990
-
- Feb 18, 2012
-
-
Greg Clayton authored
the lldb_private::StackFrame objects hold onto a weak pointer to the thread object. The lldb_private::StackFrame objects the the most volatile objects we have as when we are doing single stepping, frames can often get lost or thrown away, only to be re-created as another object that still refers to the same frame. We have another bug tracking that. But we need to be able to have frames no longer be able to get the thread when they are not part of a thread anymore, and this is the first step (this fix makes that possible but doesn't implement it yet). Also changed lldb_private::ExecutionContextScope to return shared pointers to all objects in the execution context to further thread harden the internals. llvm-svn: 150871
-
Sean Callanan authored
fetching it. llvm-svn: 150861
-
Enrico Granata authored
making it so that the std::map test case does a better job at checking for interference between expression parser and synthetic children; plus being more verbose in the comments llvm-svn: 150854
-