This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][interception][win] Add more assembly patterns
ClosedPublic

Authored by alvinhochun on Apr 22 2023, 6:29 AM.

Details

Summary

These assembly patterns are needed to intercept some libc++ and
libunwind functions built by Clang for i686-w64-windows-gnu target.

Diff Detail

Event Timeline

alvinhochun created this revision.Apr 22 2023, 6:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2023, 6:29 AM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
alvinhochun requested review of this revision.Apr 22 2023, 6:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2023, 6:29 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Only run some test cases for 32-bit

mstorsjo accepted this revision.Apr 22 2023, 11:33 AM

Looks ok to me - I’m not very familiar with this hotpatching code, but this seems to follow the existing pattern.

This revision is now accepted and ready to land.Apr 22 2023, 11:33 AM
vitalybuka accepted this revision.Apr 28 2023, 10:03 AM
This revision was landed with ongoing or failed builds.May 4 2023, 7:41 AM
This revision was automatically updated to reflect the committed changes.