- May 11, 2012
-
-
Jim Ingham authored
rdar://problem/11419156 llvm-svn: 156627
-
Greg Clayton authored
Fixed an issue in the platform options where if no architecture was specified where the platform would fail to select itself with something like: (lldb) platfrom select remote-ios llvm-svn: 156626
-
Jim Ingham authored
llvm-svn: 156624
-
Greg Clayton authored
llvm-svn: 156605
-
Greg Clayton authored
Modified the symbolication.Image object to store its uuid as a uuid.UUID object and made an accessor for getting a normalized UUID value out of the image object. Modified the crashlog darwin module to always create a uuid.UUID object when making the symbolication.Image objects. Also modified it to handle some more types of crash log files and improved the register reading for thread registers of crashed threads. llvm-svn: 156596
-
Greg Clayton authored
Don't intercept the quit command and override what is was doing. This was causing the "lldb" command line to deadlock when the quit command was executed sometimes. llvm-svn: 156595
-
Greg Clayton authored
"--stack-history" now works if you have MallocStackLogggingNoCompact defined in your app's environment. llvm-svn: 156588
-
Greg Clayton authored
llvm-svn: 156586
-
Greg Clayton authored
Added the ability to get the stack history for a malloc block. This is a work in progress. Checking this in so I can work on it some more. llvm-svn: 156584
-
Johnny Chen authored
rdar://problem/11428134 llvm-svn: 156581
-
- May 10, 2012
-
-
Sean Callanan authored
to complete C++ classes before traversing their base classes. llvm-svn: 156570
-
Johnny Chen authored
Sanity check the return value from SBSCopyApplicationDisplayIdentifiers() before calling CFArrayGetCount() on it. rdar://problem/11331867 llvm-svn: 156562
-
rdar://problem/11388521Greg Clayton authored
Fixed a case where the install header phase in the Xcode project would not set the LLDB_VERSION #define correctly. It has now been fixed to key off of the CURRENT_PROJECT_VERSION which will get auto updated with "agvtool bump -all". This was done by adding a build setting to the install-headers makefile based target. llvm-svn: 156535
-
Greg Clayton authored
llvm-svn: 156533
-
rdar://problem/11330621Greg Clayton authored
Fixed the DisassemblerLLVMC disassembler to parse more efficiently instead of parsing opcodes over and over. The InstructionLLVMC class now only reads the opcode in the InstructionLLVMC::Decode function. This can be done very efficiently for ARM and architectures that have fixed opcode sizes. For x64 it still calls the disassembler to get the byte size. Moved the lldb_private::Instruction::Dump(...) function up into the lldb_private::Instruction class and it now uses the function that gets the mnemonic, operandes and comments so that all disassembly is using the same code. Added StreamString::FillLastLineToColumn() to allow filling a line up to a column with a character (which is used by the lldb_private::Instruction::Dump(...) function). Modified the Opcode::GetData() fucntion to "do the right thing" for thumb instructions. llvm-svn: 156532
-
Jim Ingham authored
If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to the controlling plans so that they don't lose control. Also change "ThreadPlanStepThrough" to take the return StackID for its backstop breakpoint as an argument to the constructor rather than having it try to figure it out itself, since it might get it wrong whereas the caller always knows where it is coming from. rdar://problem/11402287 llvm-svn: 156529
-
- May 09, 2012
-
-
Sean Callanan authored
in expressions. llvm-svn: 156514
-
Johnny Chen authored
Make ctrl-c terminate the current input line and start an empty line, instead of the previous content. rdar://problem/11412821 llvm-svn: 156510
-
Johnny Chen authored
llvm-svn: 156509
-
Filipe Cabecinhas authored
Deal with being passed no parameters Remove the infinite loop when it's passed something like --help llvm-svn: 156504
-
Jim Ingham authored
Remove the string pool from the global destructor chain so it doesn't get yanked out from under us prematurely on exit. rdar://problem/11358062 llvm-svn: 156496
-
Jim Ingham authored
Print out a notification when the process of a target other than the currently selected target stops. llvm-svn: 156433
-
- May 08, 2012
-
-
rdar://problem/11338654Enrico Granata authored
<rdar://problem/11338654> Fixing a bug where having a summary for a bitfield without a format specified would in certain cases crash LLDB - This has also led to refactoring the by-type accessors for the data formatter subsystem. These now belong in our internal layer, and are just invoked by the public API stratum llvm-svn: 156429
-
rdar://problem/11400476Han Ming Ong authored
On Lion, because the rights initially doesn't exist in /etc/authorization, if an admin user logs in and uses lldb within the first 5 minutes, it is possible to do AuthorizationCopyRights on LaunchUsingXPCRightName and get the rights back. As another security measure, we make sure that the LaunchUsingXPCRightName rights actually exists. Removed Xcode as the user of the XPC service to shrink the security surface area. llvm-svn: 156424
-
rdar://problem/11408853Han Ming Ong authored
We make sure that if the user cancels out of the authentication dialog to add 'com.apple.lldb.LaunchUsingXPC' rights to /etc/authorization, we don't try to do AuthorizationCopyRights. As well, refactored a bit so that control flow is easier to read for other folks. Added more comments. llvm-svn: 156423
-
rdar://problem/11239650Enrico Granata authored
<rdar://problem/11239650> Fixing a bug where the SetValueFromCString() method failed to operate on dynamic values. The fix consists in making the set operation fall through to the parent. We only actually allow this if the dynamic value is at a 0-offset from the parent, or the new value is 0. Other scenarios would need agreement on the actual meaning of the set operation (do we keep offsetting? do we just assume the user knows what they are doing?) so we prevent them, and let the expression parser deal with the complexity llvm-svn: 156422
-
Jim Ingham authored
llvm-svn: 156412
-
Enrico Granata authored
A simple implementation of a summary and synthetic children providers for LLDB-specific shared pointers - This could be generalized to work with C++11 shared pointers with relative ease llvm-svn: 156410
-
Enrico Granata authored
llvm-svn: 156398
-
Enrico Granata authored
llvm-svn: 156397
-
rdar://problem/10605072Greg Clayton authored
Fixed the command callback override lookup function so we can now override the "process launch" command (or any other multi-word commands). llvm-svn: 156368
-
Jason Molenda authored
llvm-svn: 156359
-
rdar://problem/11358639Greg Clayton authored
Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. llvm-svn: 156354
-
Johnny Chen authored
llvm-svn: 156350
-
Sean Callanan authored
Thumb branch operands. llvm-svn: 156344
-
Johnny Chen authored
llvm-svn: 156340
-
Johnny Chen authored
Correctly specify the LLDB_OPT_SET's that the 'shlib' command option belongs to by using a newly added macro like this: #define LLDB_OPT_NOT_10 ( LLDB_OPT_SET_FROM(1, 10) & ~LLDB_OPT_SET_10 ) rdar://problem/11393864 llvm-svn: 156337
-
Johnny Chen authored
Add an -F option to the redo.py script to selectively re-run only those failed sessions whose filenames contain the component(s) specified. For example: ./redo.py -F x86_64 -n 2012-05-07-15_28_24 will redo the failed sessions under the 2012-05-07-15_28_24 directory, but only for session names which contain 'x86_64' in it. llvm-svn: 156335
-
- May 07, 2012
-
-
Johnny Chen authored
Move the el_source() call after the section of code which sets up the default "ctrl-r" and "ctrl-w" bindings so that user-provided .editrc has a chance to override the lldb's default key bindings. llvm-svn: 156314
-
Sean Callanan authored
and occasionally failure to recognize instructions. This problem affects ARM and Thumb BLX instructions. llvm-svn: 156307
-