This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: enable format string checking
ClosedPublic

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

Details

Summary

Enable -Wformat in sanitizer_common now that it's
cleaned up from existing warnings.
But disable it in all sanitizers for now since
they are not cleaned up yet, but inherit sanitizer_common CFLAGS.

Depends on D107980.

Diff Detail

Event Timeline

dvyukov created this revision.Aug 12 2021, 11:19 AM
dvyukov requested review of this revision.Aug 12 2021, 11:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2021, 11:19 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Aug 12 2021, 12:52 PM
This revision is now accepted and ready to land.Aug 12 2021, 12:52 PM
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.