This has been an experiment with late malloc interposition, made
possible by a non-standard feature of the Android dynamic loader.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 39809 Build 39856: arc lint + arc unit
Event Timeline
Comment Actions
If late interposition is no longer a supported use-case, does that apply to the pthread use case as well?
https://reviews.llvm.org/D56038
I would be quite keen to remove the lazy thread-initialisation check from every function prologue.
Comment Actions
Indeed, it looks like all that complexity is no longer needed.
@pcc to confirm that there are no hidden dependencies.
It should be fine to remove the late-init instrumentation and reinstate the pthread_create interceptor.