diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-07-30 10:15:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 10:15:30 -0500 |
commit | bf42a7860a208439a0a29f5dcc7a33949c484efb (patch) | |
tree | f7aa290867a01dde8a99d16bcd160fdf58417e1a /flang/lib/Semantics/pointer-assignment.cpp | |
parent | 8fc329421b2e3bc5cdda98ce303ea3b07af58ebc (diff) | |
download | llvm-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