[Bug 43017] New: Can't the SBDebugger API be used directly on android?

Bug ID 43017
Summary Can’t the SBDebugger API be used directly on android?
Product lldb
Version 8.0
Hardware Other
OS other
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter mryusolo@live.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

I want to use the LLDB SBDebugger API to create a debugger, create targets, set
breakpoints, load processes, and use the SBDebugger API to get stack
On linux:
 SBDebugger debugger = SBDebugger::Create();
 SBTarget target = degugger.CreateTarget(); 
Then create breakpoint and set some parameters, 
In this way, the stack information can be successfully obtained.

However, on android, there is apk,xx.so in the android installation directory.
We don't know what the filename of CreateTarget is set when creating the
target. Obviously, both apk and xx.so are wrong.But we still try the apk,
because on android is also made of the elf format reads the target information,
the format of the apk is not the elf, and then try the xx. So, read the target
information is correct, but in GDBRemoteCommunication: :
StartDebugserverProcess program in the Lord, then using the androidstudio LLDB
- server, process Launch  success, but there is no stack information.

Can I use the SBDebugger API to directly debug on android? 

Please help me, thank you!