llvm-project/lldb/source
Walter Erquinigo 48a50ee034 [android/process list] support showing process arguments
Summary:
The qfProcessInfo and qsProcessInfo packets currently don't set the processes' arguments, however the platform process list -v command tries to print it.
In this diff I'm adding the arguments as part of the packet, and now the command shows the arguments just like on mac.

On Mac:

507    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/secd
503    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/secinitd
501    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/languageassetd --firstLogin
497    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/trustd --agent
496    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/lsd
494    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter -L
491    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/sbin/distnoted agent
489    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/UserEventAgent (Aqua)
484    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/sbin/cfprefsd agent
483    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /System/Library/Frameworks/LocalAuthentication.framework/Support/coreauthd
On android:

1561   1016   root       0                     0          aarch64-unknown-linux-android  /system/bin/ip6tables-restore--noflush -w -v
1805   982    1000       1000                  1000                                      android:drmService
1811   982    10189      10189                 10189                                     com.qualcomm.embms:remote
1999   1      1000       1000                  1000       aarch64-unknown-linux-android  /system/bin/tlc_serverCCM
2332   982    10038      10038                 10038                                     com.android.systemui
2378   983    1053       1053                  1053                                      webview_zygote
2448   982    5013       5013                  5013                                      com.sec.location.nsflp2
2465   982    10027      10027                 10027                                     com.google.android.gms.persistent

Differential Revision:  https://reviews.llvm.org/D68293

llvm-svn: 375029
2019-10-16 18:47:05 +00:00
..
API remove FILE* usage from SBStream.i 2019-10-15 17:41:40 +00:00
Breakpoint Implement serializing scripted breakpoints and their extra args. 2019-10-10 17:44:50 +00:00
Commands uint32_t options -> File::OpenOptions options 2019-10-14 20:15:34 +00:00
Core update ScriptInterpreterPython to use File, not FILE* 2019-10-16 01:58:15 +00:00
DataFormatters Simplify condition (NFC) 2019-10-01 17:08:38 +00:00
Expression DWARFExpression: Fix/add support for (v4) debug_loc base address selection entries 2019-10-14 12:49:06 +00:00
Host SBFile::GetFile: convert SBFile back into python native files. 2019-10-15 16:46:27 +00:00
Initialization Various build fixes for lldb on MinGW 2019-08-06 18:20:43 +00:00
Interpreter Replace static const StringRef with StringRef (NFC) 2019-10-08 16:29:36 +00:00
Plugins [android/process list] support showing process arguments 2019-10-16 18:47:05 +00:00
Symbol [lldb-test] Modify lldb-test to print out ASTs from symbol file 2019-10-11 16:36:20 +00:00
Target uint32_t options -> File::OpenOptions options 2019-10-14 20:15:34 +00:00
Utility [android/process list] support showing process arguments 2019-10-16 18:47:05 +00:00
CMakeLists.txt [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00
lldb.cpp [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00