[all-commits] [llvm/llvm-project] 0f1507: [libc] Add a JSON based config option system.

Siva Chandra via All-commits all-commits at lists.llvm.org
Tue Sep 5 07:19:39 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f1507af411b08c66e9807684858893f2e921ee2
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M libc/CMakeLists.txt
    A libc/cmake/modules/LibcConfig.cmake
    A libc/config/baremetal/config.json
    A libc/config/config.json
    M libc/src/stdio/CMakeLists.txt

  Log Message:
  [libc] Add a JSON based config option system.

Few printf config options have been setup using this new config system
along with their baremetal overrides. A follow up patch will add generation
of doc/config.rst, which will contain the full list of libc config options
and short description explaining how they affect the libc.

Reviewed By: gchatelet

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

More information about the All-commits mailing list