summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-07-02 09:25:57 -0500
committerGitHub <noreply@github.com>2025-07-02 09:25:57 -0500
commit24828c8c45d7f258159afca251aa853a5fc59150 (patch)
tree7707f48030aad1c67788990bb8321d1fa30703ec /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
parentbca79ec0d21e582901b77038121dd3d738ff6aae (diff)
[libc] Efficiently implement `aligned_alloc` for AMDGPU (#146585)
Summary: This patch uses the actual allocator interface to implement `aligned_alloc`. We do this by simply rounding up the amount allocated. Because of how index calculation works, any offset within an allocated pointer will still map to the same chunk, so we can just adjust internally and it will free all the same.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions