aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorLuís Marques <luismarques@lowrisc.org>2021-03-08 22:28:19 +0000
committerLuís Marques <luismarques@lowrisc.org>2021-03-08 22:29:59 +0000
commitc5a6ad86b066a6f159b687d181d947cb43aab70b (patch)
tree4919699215279172d598a3002717f811272d464b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent8d79b0536796ab4d13b897aa3d762206aa003e4b (diff)
downloadllvm-c5a6ad86b066a6f159b687d181d947cb43aab70b.zip
llvm-c5a6ad86b066a6f159b687d181d947cb43aab70b.tar.gz
llvm-c5a6ad86b066a6f159b687d181d947cb43aab70b.tar.bz2
[Sanitizer][RISCV] Fix internal_clone
A RISC-V implementation of `internal_clone` was introduced in D87573, as part of the RISC-V ASan patch set by @EccoTheDolphin. That function was never used/tested until I ported LSan for RISC-V, as part of D92403. That port revealed problems in the original implementation, so I provided a fix in D92403. Unfortunately, my choice of replacing the assembly with regular C++ code wasn't correct. The clone syscall arguments specify a separate stack, so non-inlined calls, spills, etc. aren't going to work. This wasn't a problem in practice for optimized builds of Compiler-RT, but it breaks for debug builds. This patch fixes the original problem while keeping the assembly. Differential Revision: https://reviews.llvm.org/D96954
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions