summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-01-20 01:31:24 +0000
committerGreg Clayton <gclayton@apple.com>2012-01-20 01:31:24 +0000
commit5d343228111b2f3b219a7f871ba19909af3649dd (patch)
tree72879db42c46eab1997d03655c84d15489b2f857 /clang/tools/libclang/IndexingContext.cpp
parent456f01833b6a6356b200a06c5b2ab81ba706d03b (diff)
downloadbcm5719-llvm-5d343228111b2f3b219a7f871ba19909af3649dd.tar.gz
bcm5719-llvm-5d343228111b2f3b219a7f871ba19909af3649dd.zip
Added a new tool that can be loaded into a user space darwin application and allows you
to find data on the heap. To use this, make the project and then when stopped in your lldb debug session: (lldb) process load /path/to/libheap.dylib (lldb) find_pointer_in_heap (0x112233000000) This will grep everything in all active allocation blocks and print and malloc blocks that contain the pointer 0x112233000000. This can also work for c strings: (lldb) find_cstring_in_heap ("hello") llvm-svn: 148523
Diffstat (limited to 'clang/tools/libclang/IndexingContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud