stack-clash: Add LR assert to layout_frame.
authorTamar Christina <tamar.christina@arm.com>
Mon, 1 Oct 2018 12:53:34 +0000 (12:53 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Mon, 1 Oct 2018 12:53:34 +0000 (12:53 +0000)
commitdb6b62a858e578fdb7f9f754f2c4bf868d951fcb
treefe8ea13612b7b4e8b4b760178e53ebe51f82221d
parentcd1bef27d286a40b2709a9ded77fed5a33a461c5
stack-clash: Add LR assert to layout_frame.

Since stack clash depends on the LR being saved for non-leaf functions this
patch adds an assert such that if this changes we would notice this.

gcc/
PR target/86486
* config/aarch64/aarch64.c (aarch64_layout_frame): Add assert.

From-SVN: r264748
gcc/ChangeLog
gcc/config/aarch64/aarch64.c