This is an archive of the discontinued LLVM Phabricator instance.

AArch64: Emit a call frame instruction for the shadow call stack register.
ClosedPublic

Authored by pcc on Nov 15 2018, 5:02 PM.

Details

Summary

When unwinding past a function that uses shadow call stack, we must
subtract 8 from the value of the x18 register. This patch causes us
to emit a call frame instruction that causes that to happen.

Diff Detail

Event Timeline

pcc created this revision.Nov 15 2018, 5:02 PM
This revision is now accepted and ready to land.Nov 16 2018, 11:34 AM
This revision was automatically updated to reflect the committed changes.