This is an archive of the discontinued LLVM Phabricator instance.

scudo: fix __attribute__((format))
ClosedPublic

Authored by dvyukov on Aug 12 2021, 11:17 AM.

Details

Summary

The attribute should be in the header on declaration.
It's almost pointless in the source file.

Depends on D107977.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Aug 12 2021, 11:17 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2021, 11:17 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Aug 12 2021, 12:23 PM
This revision is now accepted and ready to land.Aug 12 2021, 12:23 PM
pcc added a subscriber: pcc.Aug 12 2021, 2:43 PM

Note that this is the legacy copy of Scudo. Looks like scudo/standalone has the same problem (see ScopedString::Append and Printf in compiler-rt/lib/scudo/standalone/string_utils.cpp).

Note that this is the legacy copy of Scudo. Looks like scudo/standalone has the same problem (see ScopedString::Append and Printf in compiler-rt/lib/scudo/standalone/string_utils.cpp).

Thanks. I've added https://reviews.llvm.org/D108014 to the series.

This revision was landed with ongoing or failed builds.Aug 13 2021, 4:44 AM
This revision was automatically updated to reflect the committed changes.