[RISCV] Support for varargs

Description

[RISCV] Support for varargs

Includes support for expanding va_copy. Also adds support for using 'aligned'
registers when necessary for vararg calls, and ensure the frame pointer always
points to the bottom of the vararg spill region. This is necessary to ensure
that the saved return address and stack pointer are always available at fixed
known offsets of the frame pointer.

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

Details

Committed
asbJan 10 2018, 11:41 AM
Differential Revision
D40805: [RISCV] Support for varargs
Parents
rL322214: [hwasan] An option to disable tag randomization.
Branches
Unknown
Tags
Unknown