This is an archive of the discontinued LLVM Phabricator instance.

Add lsan interceptors for libdispatch functions on darwin
ClosedPublic

Authored by fjricci on Jun 15 2017, 1:05 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci created this revision.Jun 15 2017, 1:05 PM
fjricci updated this revision to Diff 102713.Jun 15 2017, 1:10 PM

Split out test cases into two test runs

alekseyshl accepted this revision.Jun 15 2017, 5:01 PM
This revision is now accepted and ready to land.Jun 15 2017, 5:01 PM
This revision was automatically updated to reflect the committed changes.
fjricci reopened this revision.Jun 19 2017, 10:11 AM

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.

This revision is now accepted and ready to land.Jun 19 2017, 10:11 AM

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.

This revision was automatically updated to reflect the committed changes.