Page MenuHomePhabricator

[RFC] [AArch64] Back up and restore X18 in the prologue/epilogue for Windows calling convention on non-Windows OSes
Needs ReviewPublic

Authored by mstorsjo on May 14 2019, 6:03 AM.

Details

Reviewers
rnk
t.p.northover
Summary

This makes sure that X18 isn't clobbered after returns from Wine functions, but doesn't maintain X18 during such functions (e.g. during callbacks).

Posting this to concretely evaluate different PoCs for handling this matter.

Diff Detail