llvm-project/lldb/scripts
Todd Fiala 5bc56a4b34 android: add a command script to help display mixed Java/native backtraces.
This script supports displaying developer-focused backtraces when working
with mixed Java and C/C++ stack frames within lldb.  On Android, this represents
just about every app, since all apps start in Java code.

The script currently supports the Art JVM when run on host-side x86_64 and x86,
but does require a patch not yet accepted in AOSP:
AOSP patch: https://android-review.googlesource.com/#/c/106523/

The backtraces will hide Art VM machinery for interpreted and AOT code
and display the Java file/line numbers for Java code, while displaying
native backtrace info for native frames.  Effectively the developer will
get an app-centric view of the call stack.

This script is not yet tested on device-side Art nor is it tested on
any architecture other than x86_64 or x86 32-bit.  Several changes were
needed on the AOSP side to enable it to work properly for x86_64 and x86, 
so it is quite likely we'll need to do something similar for other cpu
architectures as well.

Change by Tong Shen

llvm-svn: 218315
2014-09-23 16:28:01 +00:00
..
Python android: add a command script to help display mixed Java/native backtraces. 2014-09-23 16:28:01 +00:00
CMakeLists.txt Fix the Windows build by removing the unused lldb_python_module.cmake inclusion from CMakeLists. 2014-08-25 18:16:22 +00:00
Makefile Fix configure & make build with python disabled 2014-09-09 04:52:37 +00:00
build-lldb-llvm-clang <rdar://problem/10507811> 2012-01-04 22:56:43 +00:00
build-llvm.pl Remove print statements I was using to debug this script additions. 2014-04-24 22:05:25 +00:00
build-swig-wrapper-classes.sh Linux buildbot fix: detect swig tool from PATH in shell script (before searching hardcoded directories) 2012-11-28 23:49:11 +00:00
buildSwigWrapperClasses.py This creates a valid Python API for Windows, pending some issues. The changes included are - 2014-07-01 17:57:19 +00:00
buildbot.py Added a buildbot script that automatically checks 2011-10-14 21:43:51 +00:00
checkpoint-llvm.pl Fix typos. 2014-07-01 21:22:11 +00:00
disasm-gdb-remote.pl Fix typos. 2014-07-01 21:22:11 +00:00
finish-swig-wrapper-classes.sh Fixed Makefile-based install to place python packages in the LLDB install tree. 2013-12-06 23:16:23 +00:00
finishSwigWrapperClasses.py Create an _d suffixed symlink when doing a debug Windows build. 2014-07-17 20:36:14 +00:00
generate-vers.pl Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
install-lldb.sh
lldb.swig Expose ThreadCollection in SB API 2014-09-06 01:21:19 +00:00
sed-sources Fix typos. 2014-07-01 21:22:11 +00:00
utilsArgsParse.py This creates a valid Python API for Windows, pending some issues. The changes included are - 2014-07-01 17:57:19 +00:00
utilsDebug.py This creates a valid Python API for Windows, pending some issues. The changes included are - 2014-07-01 17:57:19 +00:00
utilsOsType.py This creates a valid Python API for Windows, pending some issues. The changes included are - 2014-07-01 17:57:19 +00:00
verify_api.py Added the ability to verify the LLDB API on MacOSX using a script. Usage is: 2012-08-30 21:21:24 +00:00