[all-commits] [llvm/llvm-project] 402c37: [libc] Change default behaviour of baremetal/print...
William Huynh via All-commits
all-commits at lists.llvm.org
Mon Jun 16 12:23:19 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 402c376daa659c0c3a477ad038a415079ffa0a48
https://github.com/llvm/llvm-project/commit/402c376daa659c0c3a477ad038a415079ffa0a48
Author: William Huynh <William.Huynh at arm.com>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M libc/src/stdio/baremetal/printf.cpp
M libc/src/stdio/baremetal/putchar.cpp
M libc/src/stdio/baremetal/puts.cpp
M libc/src/stdio/baremetal/vprintf.cpp
Log Message:
-----------
[libc] Change default behaviour of baremetal/printf to use stdout (#143703)
In #94078, `write_to_stdout` had not been fully implemented. However,
now that it has been implemented, to conform with the C standard
(7.23.6.3. The printf function, specifically point 2), we use `stdout`.
This issue is tracked in #94685.
- Also prefer `static constexpr`
- Made it explicit that we are writing to `stdout`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list