HomePhabricator

[ARM] push LR before __gnu_mcount_nc

Authored by jcai19 on Aug 16 2019, 1:21 PM.

Description

[ARM] push LR before __gnu_mcount_nc

Push LR register before calling __gnu_mcount_nc as it expects the value of LR register to be the top value of
the stack on ARM32.

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

llvm-svn: 369147