Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - support for API-9~13 devices #23831

Open
llvmbot opened this issue May 8, 2015 · 1 comment
Open

Android - support for API-9~13 devices #23831

llvmbot opened this issue May 8, 2015 · 1 comment
Labels
bugzilla Issues migrated from bugzilla lldb

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented May 8, 2015

Bugzilla Link 23457
Version unspecified
OS other
Reporter LLVM Bugzilla Contributor
CC @tberghammer

Extended Description

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

@tberghammer
Copy link
Collaborator

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.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla lldb
Projects
None yet
Development

No branches or pull requests

2 participants