This is an archive of the discontinued LLVM Phabricator instance.

[tsan] split malloc interceptors from posix_interceptors
Needs ReviewPublic

Authored by charco on Oct 2 2020, 4:37 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This commit moves the memory management related functions that live in
tsan_interceptors_posix.cpp into a new file called
tsan_interceptors_malloc.cpp.

This allows other operating systems to use the same implementations for
the interceptros, without having to intercept the rest of the posix
functions.

Diff Detail

Event Timeline

charco created this revision.Oct 2 2020, 4:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2020, 4:37 PM
Herald added subscribers: Restricted Project, jfb, krytarowski, mgorny. · View Herald Transcript
charco requested review of this revision.Oct 2 2020, 4:37 PM
charco added a subscriber: matthew.Oct 2 2020, 4:38 PM