This is an archive of the discontinued LLVM Phabricator instance.

ASAN activate/deactive controls thread_local_quarantine_size_kb option.
ClosedPublic

Authored by alekseyshl on Jan 11 2017, 4:27 PM.

Details

Summary

Bypass quarantine altogether when quarantine size is set ot zero.
Also, relax atomic load/store of quarantine parameters, the
release/acquire semantics is an overkill here.

Diff Detail

Repository
rL LLVM

Event Timeline

alekseyshl updated this revision to Diff 84051.Jan 11 2017, 4:27 PM
alekseyshl retitled this revision from to ASAN activate/deactive controls thread_local_quarantine_size_kb option..
alekseyshl updated this object.
alekseyshl added a reviewer: eugenis.
alekseyshl added a subscriber: llvm-commits.
eugenis accepted this revision.Jan 11 2017, 4:30 PM
eugenis added a reviewer: dvyukov.
eugenis edited edge metadata.

I agree that release/acquire is unnecessary here, but I'd like Dmitry to comment on that.

This revision is now accepted and ready to land.Jan 11 2017, 4:31 PM
alekseyshl edited edge metadata.Jan 11 2017, 4:38 PM
alekseyshl added a subscriber: cryptoad.
dvyukov accepted this revision.Jan 12 2017, 5:07 AM
dvyukov edited edge metadata.
This revision was automatically updated to reflect the committed changes.