Open Quuxplusone opened 9 years ago
API 21+ requires executables be compiled with -fPIE
So we've enabled -fPIE on lldb-server
Unfortunately, support for PIE only was added to Android in API 14+
We can probably create a trampoline application without PIE that loads the real lldb-server with dlopen and calls main
Other option for solving this problem is to embedded lldb-server into it's own apk (with one ABI per apk) and then the zygote will behave like a trampoline.
API 21+ requires executables be compiled with -fPIE
So we've enabled -fPIE on lldb-server
Unfortunately, support for PIE only was added to Android in API 14+
We can probably create a trampoline application without PIE that loads the real lldb-server with dlopen and calls main