This is an archive of the discontinued LLVM Phabricator instance.

[ORC-RT] Fix objc selector corruption
ClosedPublic

Authored by benlangmuir on Oct 27 2021, 3:50 PM.

Details

Summary

We were writing a pointer to a selector string into the contents of astring instead of overwriting the pointer to the string, leading tocorruption. This was causing non-deterministic failures of the 'trivial-objc-methods' test case.

Diff Detail

Event Timeline

benlangmuir requested review of this revision.Oct 27 2021, 3:50 PM
benlangmuir created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2021, 3:50 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
lhames accepted this revision.Oct 27 2021, 3:54 PM

LGTM. Thanks Ben!

This revision is now accepted and ready to land.Oct 27 2021, 3:54 PM
This revision was landed with ongoing or failed builds.Oct 27 2021, 4:03 PM
This revision was automatically updated to reflect the committed changes.