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

Is there any plan for arm32/64? #1

Open
alhah opened this issue Jul 4, 2020 · 1 comment
Open

Is there any plan for arm32/64? #1

alhah opened this issue Jul 4, 2020 · 1 comment

Comments

@alhah
Copy link

alhah commented Jul 4, 2020

It's a very good job, I'm interesting in speeding up unwind for the profiling of android app performance.Do you have plan to port it onto arm & aarch64?

@tobast
Copy link
Collaborator

tobast commented Jul 4, 2020

Thank you! :)

Sadly, there is no plan to port this work to those architectures — I mostly see this repository as a real-world-compatible working prototype associated with this research article, but it should definitely be re-implemented cleanly if it is to be really used. In particular, the x86_64 architecture is hard-coded.

This being said, I believe it should not be too hard to port this code to ARM/aarch64. The code is mostly generic, and (as far as I remember) only specific register IDs are hard-coded (eg %rsp, …) and should be replaced with their eg. ARM counterparts. However, to get a fully working profiling toolchain, you would also need to adapt the ARM-specific part of libunwind to use eh_elfs, as done in this repo for x86_64 (most of the work, once again, is architecture-agnostic, but some architecture-specific work has to be done).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants