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


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218315 91177308-0d34-0410-b5e6-96231b3b80d8
Add ASan history threads into process_sp->GetExtendedThreadList, so they don't get freed too early

Reviewed at http://reviews.llvm.org/D5452



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218323 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up the HostThread interface, making the interface simpler.

Reviewed by: Greg Clayton
Differential Revision: http://reviews.llvm.org/D5417

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218325 91177308-0d34-0410-b5e6-96231b3b80d8
Adjust to LLVM JIT API change

Those wrapper functions seems not used by lldb... Removed

Reference for

replacing JITMemoryManager with SectionMemoryManager
replacing "llvm::JITMemoryManager::CreateDefaultMemManager()" with "new llvm::SectionMemoryManager()"
http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-jitlistener/llvm-jitlistener.cpp?r1=218316&r2=218315&pathrev=218316

Change by Tong Shen.

Tested:
Ubuntu 14.04 x86_64
MacOSX 10.9.5 with Xcode Version 6.1 (6A1030) (Beta)


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@218383 91177308-0d34-0410-b5e6-96231b3b80d8
Merge upstream llvm.org r218383 into dev-llgs-local-launch