aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorHsiangkai Wang <kai.wang@sifive.com>2021-11-19 22:26:25 +0800
committerHsiangkai Wang <kai.wang@sifive.com>2021-11-30 10:39:34 +0800
commit4ae2222e143b8541b6567f9852d9600a17cc9426 (patch)
treeaae44d9bce886521bc19d985a5a3b9188b96806d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parentfde937748b7def9f9d349b85bf9077f07a84b724 (diff)
downloadllvm-4ae2222e143b8541b6567f9852d9600a17cc9426.zip
llvm-4ae2222e143b8541b6567f9852d9600a17cc9426.tar.gz
llvm-4ae2222e143b8541b6567f9852d9600a17cc9426.tar.bz2
[RISCV] Add a test case to show the bug in RISCVFrameLowering.
If the number of arguments is too large to use register passing, it needs to occupy stack space to pass the arguments to the callee. There are two scenarios. One is to reserve the space in prologue and the other is to reserve the space before the function calls. When we need to reserve the stack space before function calls, the stack pointer is adjusted. Under the scenario, we should not use stack pointer to access the stack objects. It looks like, callseq_start -> sp = sp - reserved_space // // We should not use SP to access stack objects in this area. // call @foo callseq_end -> sp = sp + reserved_space Differential Revision: https://reviews.llvm.org/D114245
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions