[Lldb-commits] [PATCH] D68048: [WIP][RFC] Improve fetching the process list on the android platform

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 27 09:50:25 PDT 2019

wallace abandoned this revision.
wallace added a comment.

This diff has created a good discussion and I have a better idea of what we should do to move forward:)

- I figured out a way to improve the existing process fetching functionality of the lldb-server so that it can show all the nice information that ps -A is showing. I'll just do some things ps is doing under the hood with /proc files.
- I'll add some more fields to ProcessInstanceInfo that are android-specific, like package name, which is not the same as process name.
- I'll implement a way for lldb to push an existing local lldb-server or to reuse one already in the device. That way lldb can start lldb-server on behalf of the user for two cases: the initial platform connection and the actual apk debugging, which requires an lldb-server started with the correct user
- I'll implement a way for lldb to debug an apk bundle

  rG LLVM Github Monorepo



More information about the lldb-commits mailing list