[Lldb-commits] [PATCH] D13162: Change oat symbolization code for android to work on non-rooted devices

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 25 05:31:53 PDT 2015


tberghammer created this revision.
tberghammer added a reviewer: ovyalov.
tberghammer added a subscriber: lldb-commits.
Herald added subscribers: danalbert, tberghammer.

Change oat symbolization code for android to work on non-rooted devices

On android when debugging an apk we run lldb-server as application user
because the sell user (on non-rooted device) can't attach to an
application. The problem is that "adb pull" will run as a shell user
what can't access to files created by lldb-server because they will be
owned by the application user. This CL changes the oat symbolization
code to run "oatdump --symbolize" to generate an output what is owned
by the shell user.

http://reviews.llvm.org/D13162

Files:
  source/Plugins/Platform/Android/AdbClient.cpp
  source/Plugins/Platform/Android/AdbClient.h
  source/Plugins/Platform/Android/PlatformAndroid.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13162.35716.patch
Type: text/x-patch
Size: 6115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150925/ded88e77/attachment.bin>


More information about the lldb-commits mailing list