[scudo] Make the placeholder type specifier be consistent with C/C++
authorChia-hung Duan <chiahungduan@google.com>
Tue, 4 Apr 2023 04:13:58 +0000 (04:13 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Tue, 4 Apr 2023 19:13:15 +0000 (19:13 +0000)
commit1e36156ab1dc70f9f9b94a8d9820c819da4187be
tree8e1210091f5eb1bd21d883914f7cc3ac044f3596
parent3d11652bbee4cd6782c474e28cb2ab58fc93f245
[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
compiler-rt/lib/scudo/standalone/CMakeLists.txt
compiler-rt/lib/scudo/standalone/string_utils.cpp
compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
compiler-rt/lib/scudo/standalone/timing.h