[all-commits] [llvm/llvm-project] bcb7b8: [libcxxabi] Fix printf formats in a test.

Simon Tatham via All-commits all-commits at lists.llvm.org
Fri Oct 16 06:00:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bcb7b87706202cfd846500a457d93f047bfe8134
      https://github.com/llvm/llvm-project/commit/bcb7b87706202cfd846500a457d93f047bfe8134
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    M libcxxabi/test/test_fallback_malloc.pass.cpp

  Log Message:
  -----------
  [libcxxabi] Fix printf formats in a test.

This is the libcxxabi counterpart of D89545, and would have been part
of that patch if I'd spotted it soon enough (oops). One test in
libcxxabi is using the `%lu` printf format to refer to `size_t`, which
should be `%zu`.

Reviewed By: ldionne, #libc_abi

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




More information about the All-commits mailing list