This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Make the placeholder type specifier be consistent with C/C++
ClosedPublic

Authored by Chia-hungDuan on Apr 3 2023, 9:29 PM.

Details

Summary

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.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Apr 3 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 9:29 PM
Chia-hungDuan requested review of this revision.Apr 3 2023, 9:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 9:29 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cferris requested changes to this revision.Apr 3 2023, 11:08 PM

Comment nit.

compiler-rt/lib/scudo/standalone/string_utils.cpp
202

silence

This revision now requires changes to proceed.Apr 3 2023, 11:08 PM

Address review comment

Chia-hungDuan marked an inline comment as done.Apr 4 2023, 10:40 AM
cferris accepted this revision.Apr 4 2023, 12:05 PM

LGTM

This revision is now accepted and ready to land.Apr 4 2023, 12:05 PM