This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Select stricter atomic memory_order in MemMapFuchsia
ClosedPublic

Authored by fabio-d on Aug 4 2023, 7:26 AM.

Details

Summary

Previously, all operations were relaxed except for the
atomic_compare_exchange call, which was implicitly acquire (but did not
compile anymore because of the changes in commit
3ef766addadd8324f58c0fda0301edcde2185cb3).

In addition to making MemMapFuchsia compile again, this CL selects
memory_order values that better express the intent of the code.

Diff Detail

Event Timeline

fabio-d created this revision.Aug 4 2023, 7:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 7:26 AM
fabio-d requested review of this revision.Aug 4 2023, 7:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 7:26 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
Chia-hungDuan accepted this revision.Aug 4 2023, 8:53 AM

sorry for the breakage

This revision is now accepted and ready to land.Aug 4 2023, 8:53 AM