diff options
author | Joseph Huber <35342157+jhuber6@users.noreply.github.com> | 2023-09-09 13:27:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 13:27:07 -0500 |
commit | 60c0d303d67631f6504310db2cabab6703c2e3ca (patch) | |
tree | 5cabbc620c9e0903a2a89385b9ee1c8c4a66ea86 /clang/lib/Lex/ModuleMap.cpp | |
parent | b82f78670b9aeb9272e1ac436f6fa4b9ad55b8d0 (diff) | |
download | llvm-60c0d303d67631f6504310db2cabab6703c2e3ca.zip llvm-60c0d303d67631f6504310db2cabab6703c2e3ca.tar.gz llvm-60c0d303d67631f6504310db2cabab6703c2e3ca.tar.bz2 |
[libc] Implement stdio writing functions for the GPU port (#65809)
Summary:
This patch implements fwrite, putc, putchar, and fputc on the GPU. These
are very straightforward, the main difference for the GPU implementation
is that we are currently ignoring `errno`. This patch also introduces a
minimal smoke test for `putc` that is an exact copy of the `puts` test
except we print the string char by char. This also modifies the `fopen`
test to use `fwrite` to mirror its use of `fread` so that it is tested
as well.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions