- Sep 12, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 163725
-
Filipe Cabecinhas authored
llvm-svn: 163712
-
rdar://problem/11374963Greg Clayton authored
Partial fix for the above radar where we now resolve dsym mach-o files within the dSYM bundle when using "add-dsym" through the platform. llvm-svn: 163676
-
Greg Clayton authored
llvm-svn: 163675
-
Greg Clayton authored
Added some documentation and an accessor for the target with an explanation of why to not use "lldb.target". llvm-svn: 163671
-
Jim Ingham authored
llvm-svn: 163670
-
Jim Ingham authored
llvm-svn: 163669
-
- Sep 11, 2012
-
-
Sean Callanan authored
and deleted classes. llvm-svn: 163652
-
Sean Callanan authored
information from the Objective-C runtime. This patch takes the old AppleObjCSymbolVendor and replaces it with an AppleObjCTypeVendor, which is much more lightweight. Specifically, the SymbolVendor needs to pretend that there is a backing symbol file for the Types it vends, whereas a TypeVendor only vends bare ClangASTTypes. These ClangASTTypes only need to exist in an ASTContext. The ClangASTSource now falls back to the runtime's TypeVendor (if one exists) if the debug information doesn't find a complete type for a particular Objective-C interface. The runtime's TypeVendor maintains an ASTContext full of types it knows about, and re-uses the ISA-based type query information used by the ValueObjects. Currently, the runtime's TypeVendor doesn't provide useful answers because we haven't yet implemented a way to iterate across all ISAs contained in the target process's runtime. That's the next step. llvm-svn: 163651
-
Filipe Cabecinhas authored
llvm-svn: 163641
-
Filipe Cabecinhas authored
llvm-svn: 163640
-
Filipe Cabecinhas authored
Unbreaks the build on FreeBSD People that are using Linux: if you have any problems with this patch please let me know, and tell us how you are compiling lldb with the makefiles. llvm-svn: 163639
-
Filipe Cabecinhas authored
llvm-svn: 163638
-
Greg Clayton authored
Added "heap" command to get info on all allocations on the heap. Currently only objective C objects are supported since they are easy to detect. llvm-svn: 163637
-
Filipe Cabecinhas authored
llvm-svn: 163625
-
Jason Molenda authored
it is unconditionally present now. ObjectContainerBSDArchive::CreateInstance %z8.8x is not a valid printf arg specifier, %8.8zx would work for size_t arg but this arg is addr_t. use %8.8llx and cast up to uint64_t. ObjectFile::FindPlugin ditto. DynamicRegisterInfo::SetRegisterInfo ifdef this function out if LLDB_DISABLE_PYTHON. llvm-svn: 163599
-
rdar://problem/11935492Greg Clayton authored
Fixed an issue where if we call "Process::Destroy()" and the process is running, if we try to stop it and get "exited" back as the stop reason, we will still deliver the exited event. llvm-svn: 163591
-
Greg Clayton authored
llvm-svn: 163590
-
Greg Clayton authored
llvm-svn: 163589
-
Jim Ingham authored
llvm-svn: 163576
-
Jim Ingham authored
llvm-svn: 163575
-
Jim Ingham authored
Shortcut ThreadPlanStepRange::MischiefManaged - if we have pushed new plans and they are not done, then we aren't done either. <rdar://problem/12259124> llvm-svn: 163572
-
Sean Callanan authored
truncated during install-headers. <rdar://problem/12268130> llvm-svn: 163559
-
- Sep 10, 2012
-
-
Greg Clayton authored
llvm-svn: 163543
-
Jim Ingham authored
uint32_t size = ThreadList.GetSize(); for (i=0; i < size; ++i) without grabbing the thread list mutex. llvm-svn: 163541
-
Greg Clayton authored
Playing around with "objc_refs" over the weekend and improved it to work on a large ObjC program without running into expression timeouts. Now we get a full list of ObjC classes using a runtime function and then qsort the result. Also added code that can count all instances of each ObjC on the heap and also the total byte sizes for the object allocations. llvm-svn: 163520
-
- Sep 08, 2012
-
-
Sean Callanan authored
run code when it didn't really need to run. <rdar://problem/12145006> llvm-svn: 163450
-
Greg Clayton authored
llvm-svn: 163441
-
Sean Callanan authored
type was being completed. llvm-svn: 163440
-
Jim Ingham authored
Fiddle with the heuristic about where to set the stop point in a nested inline stack when we get there by breakpoint. If we hit a user breakpoint, I set the stop point to the bottom-most frame 'cause that's what we did before. <rdar://problem/12258999> Setting breakpoint in always inline function is stopping in function above it llvm-svn: 163439
-
Jim Ingham authored
llvm-svn: 163436
-
Greg Clayton authored
Make file + line breakpoints even more efficient by using our SearchFilter objects correctly now that we sometimes don't check for inlined breakpoints. llvm-svn: 163435
-
Jim Ingham authored
llvm-svn: 163433
-
Jim Ingham authored
In GetFramesUpTo, don't adjust the number of frames for the inlined depth if the number of frames in UINT32_MAX. llvm-svn: 163432
-
- Sep 07, 2012
-
-
Greg Clayton authored
llvm-svn: 163421
-
Greg Clayton authored
Train LLDB to deal with bad linker N_SO entries that point to our source files for debug map + DWARF in .o file debugging. llvm-svn: 163417
-
Greg Clayton authored
The attached patch fixes a problem with performing an attach from the SBTarget API on Linux (and other systems that use ProcessPOSIX). When Process::Attach was called from SBTarget, it resulted in a call to a form of the DoAttachWithID function that wasn't implemented in ProcessPOSIX, and so it fell back to the default implementation (which just returns an error). It didn't seem necessary to use the attach_info parameter for this case, so I just implemented it as a call to the simpler version of the function. In debugging this problem, I also found that SBTarget wasn't checking the return value from the Attach call, causing it to hang when the attach fails. llvm-svn: 163399
-
Greg Clayton authored
The attached patch adds support for debugging 32-bit processes when running a 64-bit lldb on an x86_64 Linux system. Making this work required two basic changes: 1) Getting lldb to report that it could debug 32-bit processes 2) Changing an assumption about how ptrace works when debugging cross-platform For the first change, I took a conservative approach and only enabled this for x86_64 Linux platforms. It may be that the change I made in Host.cpp could be extended to other 64-bit Linux platforms, but I'm not familiar enough with the other platforms to know for sure. For the second change, the Linux ProcessMonitor class was assuming that ptrace(PTRACE_[PEEK|POKE]DATA...) would read/write a "word" based on the child process word size. However, the ptrace documentation says that the "word" size read or written is "determined by the OS variant." I verified experimentally that when ptracing a 32-bit child from a 64-bit parent a 64-bit word is read or written. llvm-svn: 163398
-
Jim Ingham authored
llvm-svn: 163366
-
Jim Ingham authored
llvm-svn: 163365
-