This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][AArch64] add lock to FixRelaxations pass
ClosedPublic

Authored by treapster on Jan 11 2023, 12:50 AM.

Details

Summary

Since the pass is multithreaded, BC.Ctx must be protected. Otherwise we get crashes when processing.

Diff Detail

Event Timeline

treapster created this revision.Jan 11 2023, 12:50 AM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
treapster requested review of this revision.Jan 11 2023, 12:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2023, 12:50 AM
yota9 accepted this revision.Jan 11 2023, 2:09 AM

Thanks

This revision is now accepted and ready to land.Jan 11 2023, 2:09 AM
This revision was automatically updated to reflect the committed changes.