This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Fix data race in shortenInstructions
ClosedPublic

Authored by Amir on Mar 9 2022, 1:59 PM.

Details

Summary

Address ThreadSanitizer warning

Diff Detail

Event Timeline

Amir created this revision.Mar 9 2022, 1:59 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.Mar 9 2022, 1:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2022, 1:59 PM
maksfb accepted this revision.Apr 13 2022, 10:42 AM

Not exactly an NFC since it's a fix, but I'm not sure if we can have a test case for a data race.

This revision is now accepted and ready to land.Apr 13 2022, 10:42 AM
Amir retitled this revision from [BOLT][NFC] Fix data race in shortenInstructions to [BOLT] Fix data race in shortenInstructions.Apr 13 2022, 11:02 AM
This revision was automatically updated to reflect the committed changes.