[all-commits] [llvm/llvm-project] 8bea80: [libc] Move the pointer to pin off the stack to th...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Dec 1 10:31:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8bea804923a1b028e86b177caccb3258708ca01c
https://github.com/llvm/llvm-project/commit/8bea804923a1b028e86b177caccb3258708ca01c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2023-12-01 (Fri, 01 Dec 2023)
Changed paths:
M libc/utils/gpu/loader/amdgpu/Loader.cpp
Log Message:
-----------
[libc] Move the pointer to pin off the stack to the heap (#74118)
Summary:
This may be problematic to pin a stack pointer. Allocate it via the OS
allocator instead as the documentation suggests.
For some reason, if you attempt to free this pointer after the memory
region has been unlocked, it will return an invalid pointer.
More information about the All-commits
mailing list