diff options
author | Hsiangkai Wang <kai.wang@sifive.com> | 2021-11-19 22:57:50 +0800 |
---|---|---|
committer | Hsiangkai Wang <kai.wang@sifive.com> | 2021-11-30 10:39:35 +0800 |
commit | 9a88566537177df75af1fcde69e0626fed2b1145 (patch) | |
tree | a56a3fd1d793a61b29a4890fa0a95238ae1b5137 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 4ae2222e143b8541b6567f9852d9600a17cc9426 (diff) | |
download | llvm-9a88566537177df75af1fcde69e0626fed2b1145.zip llvm-9a88566537177df75af1fcde69e0626fed2b1145.tar.gz llvm-9a88566537177df75af1fcde69e0626fed2b1145.tar.bz2 |
[RISCV] Fix a bug in RISCVFrameLowering.
When we have out-going arguments passing through stack and we do not
reserve the stack space in the prologue. Use BP to access stack objects
after adjusting the stack pointer before function calls.
callseq_start -> sp = sp - reserved_space
//
// Use FP to access fixed stack objects.
// Use BP to access non-fixed stack objects.
//
call @foo
callseq_end -> sp = sp + reserved_space
Differential Revision: https://reviews.llvm.org/D114246
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions