[all-commits] [llvm/llvm-project] 89fc7e: [libc] Include (v)s(n)printf in baremetal configs

Petr Hosek via All-commits all-commits at lists.llvm.org
Sun Sep 3 19:39:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89fc7e52ab49f9221ec282042ad41035cfb1cbb5
      https://github.com/llvm/llvm-project/commit/89fc7e52ab49f9221ec282042ad41035cfb1cbb5
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/arm/headers.txt
    M libc/config/baremetal/riscv32/entrypoints.txt
    M libc/config/baremetal/riscv32/headers.txt
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/printf_core/CMakeLists.txt

  Log Message:
  -----------
  [libc] Include (v)s(n)printf in baremetal configs

These are commonly used on baremetal targets. We disable float
support and other features to reduce the binary size. This would
ideally eventually be handled using the proposed config mechanism:
https://discourse.llvm.org/t/rfc-systematic-way-to-introduce-and-use-libc-config-options/72943
but for now we use a CMake conditional.

Differential Revision: https://reviews.llvm.org/D159067




More information about the All-commits mailing list