This is required for standalone LSan to work with libdispatch worker threads,
and is a slimmed down version of the functionality provided for ASan
in asan_mac.cc.
Details
Details
- Reviewers
alekseyshl kubamracek glider kcc - Commits
- rG42175cb0d7c8: Add lsan interceptors for libdispatch functions on darwin
rG4f1e047a6d2a: Add lsan interceptors for libdispatch functions on darwin
rCRT305732: Add lsan interceptors for libdispatch functions on darwin
rCRT305695: Add lsan interceptors for libdispatch functions on darwin
rL305732: Add lsan interceptors for libdispatch functions on darwin
rL305695: Add lsan interceptors for libdispatch functions on darwin
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This didn't break on my 10.12 or my 10.11 OS X machines, but broke the buildbots (for example - http://green.lab.llvm.org/green//job/clang-stage1-configure-RA_check/32600/consoleFull#-1417328700a1ca8a51-895e-46c6-af87-ce24fa4cd561). Will try to diagnose.
Comment Actions
Looks like it was a bit racy, where in certain cases, a pointer would still be hanging out on the stack. Adding use_stacks=0 and use_registers=0 should fix things, will re-commit.