[Lldb-commits] [PATCH] D11465: Fix "process load/unload" on android

Nitesh Jain via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 4 00:54:47 PDT 2017


nitesh.jain added a comment.

In https://reviews.llvm.org/D11465#826132, @tberghammer wrote:

> Thanks for all of the data. Based on this I think you are using a preview version of android O what reports SDK 25 but the linker works the way an SDK 26 system linker would do.
>
> I think the proper fix for the problem is to do something like what Greg suggested to detect the correct function name based on the list of available symbols instead of based on the SDK version. I will try to create a CL to fix it in the next couple of days (unless you are happy to do it), but not sure when I will have time for that and it is a bit tricky to test it.
>
> Until then you can try to do either update to a newer version of the system image what reports SDK 26 (and make sure you are using a sufficiently new LLDB) or locally hack the "PlatformAndroid::LoadImage" function to use the SDK 26 version in case of SDK 25 as well (possibly with a check for ro.build.version.release)


Thanks. As suggested by Greg will submit a  patch for that


Repository:
  rL LLVM

https://reviews.llvm.org/D11465





More information about the lldb-commits mailing list