- Feb 27, 2012
-
-
Benjamin Kramer authored
llvm-svn: 151535
-
Johnny Chen authored
Patch from Dmitry Vyukov <dvyukov@google.com>! llvm-svn: 151534
-
Greg Clayton authored
llvm-svn: 151532
-
- Feb 26, 2012
-
-
Greg Clayton authored
more of the local path, platform path, associated symbol file, UUID, arch, object name and object offset. This allows many of the calls that were GetSharedModule to reduce the number of arguments that were used in a call to these functions. It also allows a module to be created with a ModuleSpec which allows many things to be specified prior to any accessors being called on the Module class itself. I was running into problems when adding support for "target symbol add" where you can specify a stand alone debug info file after debugging has started where I needed to specify the associated symbol file path and if I waited until after construction, the wrong symbol file had already been located. By using the ModuleSpec it allows us to construct a module with as little or as much information as needed and not have to change the parameter list. llvm-svn: 151476
-
- Feb 25, 2012
-
-
Greg Clayton authored
llvm-svn: 151439
-
rdar://problem/9886712Greg Clayton authored
Added a dedicated platform for the iOS simulator. This helps us to find the correct files for a simulator binary before running and helps us select the right arch (i386 only) for files when we load them. llvm-svn: 151436
-
Johnny Chen authored
Now Each newly created target has its Watchpoint IDs as 1, 2, 3 ... llvm-svn: 151435
-
Greg Clayton authored
llvm-svn: 151422
-
Greg Clayton authored
llvm-svn: 151421
-
rdar://problem/3535148Han Ming Ong authored
Added ability to debug root processes on OS X. This uses XPC service that is available on Lion and above only. llvm-svn: 151419
-
Greg Clayton authored
getting, setting, and checking. llvm-svn: 151408
-
Johnny Chen authored
Create an additional watchpoint during the test run and verify that the watchpoint fired has the expected watchpoint id. llvm-svn: 151404
-
- Feb 24, 2012
-
-
Greg Clayton authored
weak reference back to the Module. We were crashing when trying to make a memory object file since it was trying to get the object in the Module constructor before the "Module *" had been put into a shared pointer, and the module was trying to initialize a weak pointer back to it. llvm-svn: 151397
-
Johnny Chen authored
llvm-svn: 151393
-
Greg Clayton authored
llvm-svn: 151392
-
Enrico Granata authored
Reworking the ObjC formatters test case not to test everything in one huge code block - better for maintenance and debugging llvm-svn: 151390
-
Enrico Granata authored
llvm-svn: 151388
-
Johnny Chen authored
Patch from dawn@burble.org! llvm-svn: 151375
-
Jim Ingham authored
llvm-svn: 151370
-
Greg Clayton authored
will fill out either a SBLaunchInfo or SBAttachInfo class, then call: SBProcess SBTarget::Launch (SBLaunchInfo &, SBError &); SBProcess SBTarget::Attach (SBAttachInfo &, SBError &); The attach is working right now and allows the ability to set many filters such as the parent process ID, the user/group ID, the effective user/group ID, and much more. The launch is not yet working, but I will get this working soon. By changing our launch and attach calls to take an object, it allows us to add more capabilities to launching and attaching without having to have launch and attach functions that take more and more arguments. Once this is all working we will deprecated the older launch and attach fucntions and eventually remove them. llvm-svn: 151344
-
rdar://problem/10103468Greg Clayton authored
I started work on being able to add symbol files after a debug session had started with a new "target symfile add" command and quickly ran into problems with stale Address objects in breakpoint locations that had lldb_private::Section pointers into modules that had been removed or replaced. This also let to grabbing stale modules from those sections. So I needed to thread harded the Address, Section and related objects. To do this I modified the ModuleChild class to now require a ModuleSP on initialization so that a weak reference can created. I also changed all places that were handing out "Section *" to have them hand out SectionSP. All ObjectFile, SymbolFile and SymbolVendors were inheriting from ModuleChild so all of the find plug-in, static creation function and constructors now require ModuleSP references instead of Module *. Address objects now have weak references to their sections which can safely go stale when a module gets destructed. This checkin doesn't complete the "target symfile add" command, but it does get us a lot clioser to being able to do such things without a high risk of crashing or memory corruption. llvm-svn: 151336
-
Johnny Chen authored
of the DSCR to check whether it was because of watchpoint occurred. llvm-svn: 151333
-
Enrico Granata authored
commenting parts of std::map test case which would make the test case fail when using TOT clang, but succeed on older compiler releases llvm-svn: 151309
-
Sean Callanan authored
Intel disassembler usable. Also flipped the switch: we are now exclusively using Disassembler.h instead of EnhancedDisassembly.h for all disassembly in LLDB. llvm-svn: 151306
-
Johnny Chen authored
llvm-svn: 151305
-
Enrico Granata authored
llvm-svn: 151304
-
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: 151301
-
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
-