This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer_common] disable format errors.
ClosedPublic

Authored by fmayer on Aug 13 2021, 8:24 AM.

Diff Detail

Event Timeline

fmayer created this revision.Aug 13 2021, 8:24 AM
fmayer requested review of this revision.Aug 13 2021, 8:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2021, 8:24 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
dvyukov added inline comments.Aug 13 2021, 9:07 AM
compiler-rt/lib/sanitizer_common/CMakeLists.txt
206

Please disable it only for 32-bits, since these warnings are 32-bits only.
And move this next to -Wno-format-pedantic to have it all in one place.

fmayer updated this revision to Diff 366303.Aug 13 2021, 9:49 AM

whitespace change

dvyukov accepted this revision.Aug 13 2021, 9:49 AM
dvyukov added inline comments.
compiler-rt/lib/sanitizer_common/CMakeLists.txt
206

As per offline discussion, we agreed to submit this as-is today to unbreak things and fix on Monday.

This revision is now accepted and ready to land.Aug 13 2021, 9:49 AM
This revision was landed with ongoing or failed builds.Aug 13 2021, 9:52 AM
This revision was automatically updated to reflect the committed changes.
fmayer marked 2 inline comments as done.

FTR, I've mailed D108105 because other people are complaining re broken builds:
https://reviews.llvm.org/D107980#2945116
disabling the warning for sanitizer_common only is not enough.