AArch64: Don't emit CFI for SCS register in nounwind functions.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 30 Nov 2018 21:04:25 +0000 (21:04 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 30 Nov 2018 21:04:25 +0000 (21:04 +0000)
commit35fcc294ab5fbfd9bdaa053261d80bc0dd2d7701
treedcc1bee59192dab4dd790a9994a48a81bbfdcdf4
parent58e94f91a8d0cc7de31f91cfb5ccdb134bfa5d0a
AArch64: Don't emit CFI for SCS register in nounwind functions.

All that you can legitimately do with the CFI for a nounwind function
is get a backtrace, and adjusting the SCS register is not (currently)
required for this purpose.

Differential Revision: https://reviews.llvm.org/D54988

llvm-svn: 348035
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/shadow-call-stack.ll