aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorJoseph Huber <35342157+jhuber6@users.noreply.github.com>2023-09-26 09:46:46 -0500
committerGitHub <noreply@github.com>2023-09-26 09:46:46 -0500
commit7ac8e26fc7985c7b7a8e7f7ffd09984b12433cc2 (patch)
tree7b562706111d8bb6ec01e88d95951446112fcd3c /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent0b3f9d8561226e3771db7f49dfb43d1301efc3c3 (diff)
downloadllvm-7ac8e26fc7985c7b7a8e7f7ffd09984b12433cc2.zip
llvm-7ac8e26fc7985c7b7a8e7f7ffd09984b12433cc2.tar.gz
llvm-7ac8e26fc7985c7b7a8e7f7ffd09984b12433cc2.tar.bz2
[libc] Implement `fseek`, `fflush`, and `ftell` on the GPU (#67160)
Summary: This patch adds the necessary entrypoints to handle the `fseek`, `fflush`, and `ftell` functions. These are all very straightfoward, we simply make RPC calls to the associated function on the other end. Implementing it this way allows us to more or less borrow the state of the stream from the server as we intentionally maintain no internal state on the GPU device. However, this does not implement the `errno` functinality so that must be ignored.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions