[all-commits] [llvm/llvm-project] ecca89: [libc] add compile option for printf arg type array

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Aug 26 11:38:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecca895295e6efbc03a9652bf65d622bd1216ab4
      https://github.com/llvm/llvm-project/commit/ecca895295e6efbc03a9652bf65d622bd1216ab4
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M libc/src/stdio/printf_core/parser.h
    A libc/src/stdio/printf_core/printf_config.h

  Log Message:
  -----------
  [libc] add compile option for printf arg type array

This patch allows for adjusting the size of the array that printf uses
to track the types of arguments in index mode. This is useful for
optimizing the tradeoff between memory usage and performance.

Reviewed By: sivachandra

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




More information about the All-commits mailing list