History log of /external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4690358e72abc00b802a8d473d6fd0b069442609 19-Jan-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13011717>

Fixed a compilation error that occurs when "lldb.macosx.heap" is imported and "ptr_refs" is used.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
eea1f98a8715f074976632836bd54a8a9d395abd 15-Jan-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13011717>

Fixed a compilation error where NULL was being assigned to a uint.




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@172566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
130a3127926fe704f9d5e0552e873505c6c10313 09-Oct-2012 Greg Clayton <gclayton@apple.com> Checking in fixes that I used to track down a leaking module. The heap module can now search the vm regions with the --vm-regions options to any of the heap functions. This is currently slow and often will time out when run on a large program since our user expression timeout is set to 500000 usec. We need to add an API to LLDB where we can specify the timeout for an expression.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@165437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
a936c6e5b2fa2e63939e6cfcd5cf05c6733ae0c0 12-Sep-2012 Greg Clayton <gclayton@apple.com> Don't allow an extra entry to slip into the heap results and also add a better output format

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
393fc5fe35fd511cc65540f678c6d154126914fd 11-Sep-2012 Greg Clayton <gclayton@apple.com> 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.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163637 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
a48bf37e2ab68c10a3089f5400876987b633ae45 10-Sep-2012 Greg Clayton <gclayton@apple.com> 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.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
e82013940362bdda90e13f3f9c7363d3eb1d6898 08-Sep-2012 Greg Clayton <gclayton@apple.com> Don't allocate memory when enumerting stack. We now have fixed size buffers to avoid this issue.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
aaf7fad2bb839010596e6d8e673e9635f4ddf372 04-Sep-2012 Greg Clayton <gclayton@apple.com> Improved "objc_refs" a bit to be able to find all instances of a class'
superclasses on top of finding the exact class. The current attempt is still
too slow, but it lays the groundwork.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
85df60cecb0d0d2d223ef613f998dc2a9ff1b3e7 01-Sep-2012 Greg Clayton <gclayton@apple.com> <rdar://problem/12069589>

Fixed an issue where not all text would always be seen when running any of the functions in heap.py in Xcode. Now we put the text directly into the command result object and skip STDIO since we have issues with STDIO right now in python scripts.

Also fixed an issue with the "--stack-history" option where MallocStackLoggingNoCompact was assumed to have to be enabled... It doesn't, just MallocStackLogging.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@163042 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
ab20f29e71457e73c2542b763c1ff2d529d21399 11-Aug-2012 Greg Clayton <gclayton@apple.com> Added a new "objc_refs" command that will track down all allocations on the heap that have the "isa" for the objective C class at offset zero. This will need to be improved to deal with KVO classes, but it is a start. It also disallows looking up a pointer value of zero since that would return way too many matches.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@161724 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
4c5c429b0cd53a4df9f0fab3482e73aa71fc5b91 12-Jul-2012 Greg Clayton <gclayton@apple.com> Added the ability to search through sections for pointer data.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160083 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
073d59538758a83de612d12609cc05d3ff09c553 27-Jun-2012 Greg Clayton <gclayton@apple.com> Remove dependency on internal header file.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
bf4796585224db7256f5c0df8bab22b304f4615e 11-May-2012 Greg Clayton <gclayton@apple.com> More fixes to "malloc_history".



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
6f446f30e47824cabecc22ee3ec68b9450e39c4c 11-May-2012 Greg Clayton <gclayton@apple.com> "--stack-history" now works if you have MallocStackLogggingNoCompact defined in your app's environment.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
f4e304409a37c1845fda66a5c35e3bec8fd32ca6 11-May-2012 Greg Clayton <gclayton@apple.com> Fixed a build error.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
7a24576ff8141db67c52d999c14e474f5bd59f52 11-May-2012 Greg Clayton <gclayton@apple.com> 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.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@156584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp
aa0489cd2d3d980dd8c1087a6cdc9f3bad3ba306 25-Apr-2012 Greg Clayton <gclayton@apple.com> Move the source and Makefile into a directory so it will be easier to install.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/examples/darwin/heap_find/heap/heap_find.cpp