- Jun 24, 2013
-
-
Sean Callanan authored
doesn't return anything; that's great. We should probably also return rather than trying to access the nonexistent return value. <rdar://problem/14009519> llvm-svn: 184765
-
Ed Maste authored
llvm-svn: 184748
-
Ed Maste authored
- Sort functions in the same order - Match whitespace - Remove commetned out code - Make filename in comments match filename llvm-svn: 184746
-
Ed Maste authored
llvm-svn: 184745
-
Ed Maste authored
llvm-svn: 184744
-
Ed Maste authored
Akin to r181712 (88e529b7) of Linux/ProcessMonitor.cpp llvm-svn: 184742
-
Ed Maste authored
Revision r147613 (2341d35) renamed this file with s/Linux/POSIX/, but header guards and comments were not updated to match. llvm-svn: 184741
-
Andy Gibbs authored
Using offsetof to an item within an array is an extension so mark it as such to avoid compiler warnings. llvm-svn: 184738
-
Andy Gibbs authored
llvm-svn: 184737
-
Ed Maste authored
Since r181446 the m_private_run_lock has been used for all platforms. llvm-svn: 184733
-
- Jun 22, 2013
-
-
Greg Clayton authored
Added a regex that can be specified to avoid showing contents on types that match. Also split things up a bit so this can be run as a stand alone script or in lldb. llvm-svn: 184628
-
Jim Ingham authored
<rdar://problem/14147303> llvm-svn: 184622
-
Jim Ingham authored
llvm-svn: 184619
-
Enrico Granata authored
Set your env variable LLDB_TEST_ARGUMENTS to one or more options to be passed to the lldb test suite and those will be picked automatically No more fighting about whether the progress bar is good or bad :-) llvm-svn: 184615
-
Enrico Granata authored
llvm-svn: 184613
-
Enrico Granata authored
Now, the way SWIG wrappers call into Python is through a utility PyCallable object, which overloads operator () to look like a normal function call Plus, using the SBTypeToSWIGWrapper() family of functions, we can call python functions transparently as if they were plain C functions Using this new technique should make adding new Python call points easier and quicker The PyCallable is a generally useful facility, and we might want to consider moving it to a separate layer where other parts of LLDB can use it llvm-svn: 184608
-
rdar://problem/14004410Han Ming Ong authored
Remove old GetNextThreadIndexID() from lldb llvm-svn: 184600
-
- Jun 21, 2013
-
-
rdar://problem/13980489Han Ming Ong authored
I added scan type to ‘qGetProfileData’ previously but forgot to update the check to be a substring search. llvm-svn: 184588
-
Enrico Granata authored
Change the SWIG wrappers to stop directly casting SB object to SWIG objects, and instead use a safer type-checked API (thanks templates) Any time a SWIG wrapper needs a PyObject for an SB object, it now should call into SBTypeToSWIGWrapper<SBType>(SBType*) If you try to use it on an SBType for which there is not an implementation yet, LLDB will fail to link - just add your specialization to python-swigsafecast.swig and rebuild This is the first step in simplifying our SWIG Wrapper layer llvm-svn: 184580
-
Enrico Granata authored
- %N = show the name of the variable - %> = show the expression path of the variable llvm-svn: 184502
-
Enrico Granata authored
In thread and frame format strings, it is now allowed to use Python functions to generate part or all of the output text Specifically, the ${target ${process ${thread and ${frame specifiers have been extended to allow a subkeyword .script:<fctName> (e.g. ${frame.script:FooFunction}) The functions are prototyped as def FooFunction(Object,unused) where object is of the respective SB-type (SBTarget for target.script, ... and so on) This has not been implemented for ${var because it would be akin to a Python summary which is already well-defined in LLDB llvm-svn: 184500
-
Jason Molenda authored
llvm-svn: 184487
-
- Jun 20, 2013
-
-
Jason Molenda authored
llvm-svn: 184483
-
Jim Ingham authored
to nil objects, it won't work anyway. llvm-svn: 184474
-
Sean Callanan authored
dematerialization of registers that caused conditional breakpoint expressions not to work properly. Also added a testcase. <rdar://problem/14129252> llvm-svn: 184451
-
Andy Gibbs authored
llvm-svn: 184399
-
Greg Clayton authored
llvm-svn: 184390
-
Greg Clayton authored
Cleanup the output a bit by removing old print statements and also printing the number of types found. llvm-svn: 184389
-
Greg Clayton authored
Unique types a bit more using the clang type to make sure we don't get multiple copies of the same type due to the debug info having multiple types that get uniqued. llvm-svn: 184388
-
- Jun 19, 2013
-
-
Greg Clayton authored
The script was able to point out and save 40 bytes in each lldb_private::Section by being very careful where we need to have virtual destructors and also by re-ordering members. llvm-svn: 184364
-
Enrico Granata authored
This ensures that we won't try to do cleanups of test cases that we are skipping e.g. this brings down the time required to run the cmdline category on my machine from ~70s to ~30s llvm-svn: 184363
-
Andy Gibbs authored
llvm-svn: 184342
-
Ashok Thirumurthi authored
Updated the LLDB download page to reflect Debian package locations for 3.3 as well as the incremental 3.4 releases. llvm-svn: 184339
-
rdar://problem/14005652Enrico Granata authored
Fixing a bug with the NSString data formatter where some strings would be truncated llvm-svn: 184336
-
Andy Gibbs authored
The 'register' keyword is now deprecated in C++11, so ignore the warning when compiling lldb with clang since python headers commonly use the keyword. llvm-svn: 184335
-
Andy Gibbs authored
llvm-svn: 184334
-
Andy Gibbs authored
llvm-svn: 184333
-
Jason Molenda authored
Change the simple-minded stack walk to not depend on lldb to unwind the first frame. Collect a list of Modules and Addresses seen while backtracing (with both methods), display the image list output for all of those modules, plus disassemble and image show-unwind any additional frames that the simple backtrace was able to unwind through instead of just the lldb unwind algorithm frames. Remove checks for older lldb's that didn't support -a for disassemble or specifying the assembler syntax on x86 targets. llvm-svn: 184280
-
Enrico Granata authored
Xcode spawns a new LLDB SBDebugger for each debug session, and this was causing the reloading of python modules to fail across debug sessions (long story short: the module would not be loaded in the current instance of the ScriptInterpreter, but would still be present in sys.modules, hence the import call would just make a copy of it and not run it again Greg's new decorator uncovered the issue since it relies on actually loading the module's code rather than using __lldb_init_module as the active entity) This patch introduces the notion of a local vs. global import and crafts an appropriate command to allow reloading to work across debug sessions llvm-svn: 184279
-
Greg Clayton authored
Added a new decorator function in the "lldb" module that can register a command automatically. We have just a few kinks to work out for the Xcode workflow and we will be ready to switch over to using this. To use this, you can decorate your python function as: @lldb.command("new_command", "Documentation string for new_command...") def new_command(debugger, command, result, dict): .... No more need to register your command in the __lldb_init_module function! llvm-svn: 184274
-