This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Invoke malloc/free hooks on darwin
ClosedPublic

Authored by Northbadge on May 31 2023, 9:29 PM.

Details

Summary

Matches behaviour from tsan_interceptors_posix. This is covered by sanitizer_common/TestCases/malloc_hook.cpp (which is currently failing on darwin)
I've tested it on an arm-based Mac & also compiled to x86_64 on it.

Diff Detail

Event Timeline

Northbadge created this revision.May 31 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2023, 9:29 PM
Northbadge requested review of this revision.May 31 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 31 2023, 9:29 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Jun 1 2023, 11:05 AM
This revision is now accepted and ready to land.Jun 1 2023, 11:05 AM
This revision was landed with ongoing or failed builds.Jun 1 2023, 11:12 AM
This revision was automatically updated to reflect the committed changes.