summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2025-02-28 09:54:47 +0100
committerGitHub <noreply@github.com>2025-02-28 09:54:47 +0100
commitd0edd931bcc328b9502289d346f2b2219341f853 (patch)
treec0553b950de0a61fa1f39af608807972e182c242 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parenta8db1fb9b5dac61a37492840f2edb84a15e7c8a2 (diff)
[Coroutines] Mark parameter allocas with coro.outside.frame metadata (#127653)
Parameters to a coroutine get copied (moved) to coroutine-local instances which code inside the coroutine then uses. The original parameters should not be part of the frame. Normally CoroSplit figures that out by itself, but for [[clang::trivial_abi]] parameters which, get destructed at the end of the ramp function, it does not (see bug), causing use-after-free's if the frame is destroyed before the end of the ramp (as happens if it doesn't suspend). Since Clang knows these should never be part of the frame, use metadata to make it so. Fixes #127499
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions