Addr2line support in Android-13 release

816 views
Skip to first unread message

Bala Ramasamy

unread,
Jun 3, 2022, 4:21:36 PM6/3/22
to Android Building
Hi All,
We are trying to use addr2line tool to find the source code line mapping for the memory leak traces got from libmemunreacable tool. 

In Android#12, we could use the addr2line tool to convert the memory leak traces to source code line using the addr2line present in below path but in Android-13, we could not find the addr2line tool. 

Could you please let us know, whether addr2line will be supported in Android#13? or if it is already supported, could you please guide to find and use the same?

Path in Android#12: android\prebuilts\gcc\linux-x86\x86\x86_64-linux-android-4.9\bin\ x86_64-linux-android-addr2line

Path in Android#13 does not have addr2line: android\prebuilts\gcc\linux-x86\host


Regards,
Bala.

Dan Willemsen

unread,
Jun 3, 2022, 4:26:00 PM6/3/22
to android-...@googlegroups.com
We've been moving away from GCC and GNU Binutils over to Clang+llvm tools. It looks like there's a version of llvm-addr2line in prebuilts/clang/host/linux-x86/llvm-binutils-stable/llvm-addr2line

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/1bd85dee-a365-450d-9c08-ebd2892f5ce7n%40googlegroups.com.

Bala Ramasamy

unread,
Jun 6, 2022, 3:46:24 PM6/6/22
to android-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages