History log of /llvm-project/libc/src/stdio/baremetal/getchar.cpp (Results 1 – 8 of 8)
Revision Date Author Comments
# 5ff3ff33 12-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)

This is a part of #97655.


# ce9035f5 12-Jul-2024 Mehdi Amini <joker.eph@gmail.com>

Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)

Reverts llvm/llvm-project#98075

bots are broken


# 3f30effe 11-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)

This is a part of #97655.


# b187ecb6 11-Jul-2024 Michael Jones <michaelrj@google.com>

[libc] fix baremetal getchar (#98515)

baremetal getchar got the wrong find/replace in the initial patch. This
patch fixes it.


# 5aed6d67 11-Jul-2024 Michael Jones <michaelrj@google.com>

Reland: [libc] Move off_t and stdio macros to proxy hdrs (#98384)

reland of https://github.com/llvm/llvm-project/pull/98215

Additionally adds proxy headers for FILE and the fopencookie types

The a

Reland: [libc] Move off_t and stdio macros to proxy hdrs (#98384)

reland of https://github.com/llvm/llvm-project/pull/98215

Additionally adds proxy headers for FILE and the fopencookie types

The arm32 build has been failing due to redefinitions of the off_t type.
This patch fixes this by moving off_t to a proper proxy header. To do
this, it also moves stdio macros to a proxy header to hopefully avoid
including this proxy header alongside this public stdio.h.

show more ...


# 50a19f94 09-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Include stdio.h in baremetal getchar.cpp (#98188)

This is needed for the EOF constant.


# c530dade 09-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Remove unnecessary `stdio.h` includes (#98132)


# cfa2d7df 09-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Provide baremetal implementation of getchar (#98059)

This introduces opaque type `struct __llvm_libc_stdin` and a symbol
`__llvm_libc_stdin_read` that's intended to be provided by the vendor

[libc] Provide baremetal implementation of getchar (#98059)

This introduces opaque type `struct __llvm_libc_stdin` and a symbol
`__llvm_libc_stdin_read` that's intended to be provided by the vendor.

`__llvm_libc_stdin_read` intentionally has the same signature as
`cookie_read_function_t` so it can be used with `fopencookie` to
represent `stdin` as `FILE *` in the future.

show more ...