[all-commits] [llvm/llvm-project] 11d643: [libc] Add baremetal printf (#94078)

Michael Jones via All-commits all-commits at lists.llvm.org
Fri Jun 7 11:37:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11d643f0b11c041d7030d43a328adf2eb3ba4e3d
      https://github.com/llvm/llvm-project/commit/11d643f0b11c041d7030d43a328adf2eb3ba4e3d
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/baremetal/CMakeLists.txt
    A libc/src/stdio/baremetal/printf.cpp
    M libc/src/stdio/generic/CMakeLists.txt
    A libc/src/stdio/generic/printf.cpp
    A libc/src/stdio/generic/vprintf.cpp
    R libc/src/stdio/printf.cpp
    R libc/src/stdio/vprintf.cpp

  Log Message:
  -----------
  [libc] Add baremetal printf (#94078)

For baremetal targets that don't support FILE, this version of printf
just writes directly to a function provided by a vendor. To do this both
printf and vprintf were moved to /generic (vprintf since they need the
same flags and cmake gets funky about setting variables in one file and
reading them in another).



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