The attribute should be in the header on declaration.
It's almost pointless in the source file.
Depends on D107977.
Paths
| Differential D107978
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. Depends on D107977.
Diff Detail
Event Timelinedvyukov added a child revision: D107979: Revert "sanitizer_common: support printing __m128i type".Aug 12 2021, 11:18 AM This revision is now accepted and ready to land.Aug 12 2021, 12:23 PM Comment Actions 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). Comment Actions
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 Closed by commit rG036f963083f0: scudo: fix __attribute__((format)) (authored by dvyukov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 366043 compiler-rt/lib/scudo/scudo_utils.h
compiler-rt/lib/scudo/scudo_utils.cpp
|