aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/pointer-assignment.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-07-30 10:15:30 -0500
committerGitHub <noreply@github.com>2024-07-30 10:15:30 -0500
commitbf42a7860a208439a0a29f5dcc7a33949c484efb (patch)
treef7aa290867a01dde8a99d16bcd160fdf58417e1a /flang/lib/Semantics/pointer-assignment.cpp
parent8fc329421b2e3bc5cdda98ce303ea3b07af58ebc (diff)
downloadllvm-bf42a7860a208439a0a29f5dcc7a33949c484efb.zip
llvm-bf42a7860a208439a0a29f5dcc7a33949c484efb.tar.gz
llvm-bf42a7860a208439a0a29f5dcc7a33949c484efb.tar.bz2
[libc] Implement placeholder memory functions on the GPU (#101082)
Summary: These functions are needed for `libc++` to link successfully. We can't implement them well currently, so simply provide some stand-in implementations. `realloc` will currently copy garbage and potentially fault and `aligned_alloc` will work unless your alignment is more than 4K alignment. However, these should work in practice to get tests running. I will write a real allocator soon™.
Diffstat (limited to 'flang/lib/Semantics/pointer-assignment.cpp')
0 files changed, 0 insertions, 0 deletions