This is an archive of the discontinued LLVM Phabricator instance.

Add thread annotations.
AbandonedPublic

Authored by aarongreen on Jan 12 2021, 9:41 AM.

Details

Summary

This change adds wrappers for std::unique_lock and std::recursive_lock and adds thread annotations so the code can be compiled with "-Wthread-safety -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS".

See also https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

Diff Detail

Event Timeline

aarongreen created this revision.Jan 12 2021, 9:41 AM
aarongreen requested review of this revision.Jan 12 2021, 9:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2021, 9:41 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aarongreen updated this revision to Diff 321777.Feb 5 2021, 8:42 AM
aarongreen abandoned this revision.Sep 1 2021, 9:02 AM

Multiprocess fuzzing will not be supported by the libFuzzer maintainers. Fuchsia has implemented a new approach with their Component Fuzzing Framework (RFC-117).