This is an archive of the discontinued LLVM Phabricator instance.

[tsan][go]: add fetch_atomic and/or functions
Needs ReviewPublic

Authored by mauri870 on Sep 1 2023, 11:45 AM.

Details

Reviewers
dvyukov
Summary

These atomic primitives are required in order to implement
the race variants of the new And and Or operators in Go's
sync/atomic package.

See https://github.com/golang/go/issues/61395

Diff Detail

Event Timeline

mauri870 created this revision.Sep 1 2023, 11:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2023, 11:45 AM
Herald added a subscriber: Enna1. · View Herald Transcript
mauri870 requested review of this revision.Sep 1 2023, 11:45 AM
Herald added a subscriber: Restricted Project. · View Herald TranscriptSep 1 2023, 11:45 AM