[all-commits] [llvm/llvm-project] 1e3615: [scudo] Make the placeholder type specifier be con...

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Tue Apr 4 12:16:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e36156ab1dc70f9f9b94a8d9820c819da4187be
      https://github.com/llvm/llvm-project/commit/1e36156ab1dc70f9f9b94a8d9820c819da4187be
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/string_utils.cpp
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/timing.h

  Log Message:
  -----------
  [scudo] Make the placeholder type specifier be consistent with C/C++

This avoids `-Wformat` complains the placeholder type specifier mismatch
on `lld`/`llu`(used for `s64`/`u64`) which have slightly different
interpretation in string_utils.cpp.

Also enable Timer build which was disabled because of the complaining of
`-Wformat`.

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




More information about the All-commits mailing list