It would be useful for Flutter apps, especially, to be able to use malloc hooks to debug memory leaks on Fuchsia. They're not able to do this right now, so it'd be a nice bonus to throw in with the Scudo switchover.
Details
Details
- Reviewers
cryptoad alekseyshl - Commits
- rG6a9c719ee1be: [compiler-rt] Get rid of "%T" expansions
rG4bc7f3d4d635: [scudo] Enable Scudo memory hooks for Fuchsia.
rCRT336661: [compiler-rt] Get rid of "%T" expansions
rL336661: [compiler-rt] Get rid of "%T" expansions
rL336139: [scudo] Enable Scudo memory hooks for Fuchsia.
rCRT336139: [scudo] Enable Scudo memory hooks for Fuchsia.
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
Comment Actions
Or maybe wrap it all with # define SCUDO_CAN_USE_HOOKS (SANITIZER_FUCHSIA) or equivalent if it looks cleaner. Up to you.
Comment Actions
I like that this matches the style of the SCUDO_SHARED_TSD_POOL_SIZE enables, so I may leave it as-is, if that's alright with you.