[clang] [compiler-rt] [llvm] [DRAFT][memprof][darwin] Support memprof on Darwin platform and add binary access profile (PR #142884)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 16:13:18 PDT 2025
snehasish wrote:
> @snehasish thanks for the detailed reply! I will take a closer week through the week and get back to you.
>
> Btw a quick question, our sister team is actually also interested in supporting memprof for Android platform, i.e. getting the access profile of the Android native libraries (inside an android app apk) during app startup , and then order the data symbols (on ELF i believe it's rodata section) for startup performance win.
>
> The ordering part I believe they should be able to reuse some of @mingmingl-llvm's work, and the patches I just landed for cstring ordering in lld; but for supporting memprof for android platform, although it should be able to use most of the current linux configurations, android does seem to require some specialization by looking at Asan support for android. Given it's android, wondering is there anyone in Google actually also interested in or working on this? Thanks Sharon
Can you share the improvement in startup time observed on MachO? I can reach out to the Android toolchain team to gauge interest.
https://github.com/llvm/llvm-project/pull/142884
More information about the llvm-commits
mailing list