This is an archive of the discontinued LLVM Phabricator instance.

Revert "sanitizer_common: support printing __m128i type"
ClosedPublic

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

Details

Summary

This reverts commits
"sanitizer_common: support printing __m128i type"
and "[sanitizer] Fix VSNPrintf %V on Windows".

Unfortunately, custom "%V" is inherently incompatible with -Wformat,
it produces both:
warning: invalid conversion specifier 'V' [-Wformat-invalid-specifier]
warning: data argument not used by format string [-Wformat-extra-args]
If we disable both of these warnings we lose lots of useful warnings as well.

Depends on D107978.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Aug 12 2021, 11:18 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2021, 11:18 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Aug 12 2021, 12:27 PM
vitalybuka added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
165

please don't revert these two vars?
it was an improvement.

This revision is now accepted and ready to land.Aug 12 2021, 12:27 PM
dvyukov marked an inline comment as done.Aug 12 2021, 10:46 PM
dvyukov added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_printf.cpp
165

I've added a separate https://reviews.llvm.org/D108015 for this to not revert revert of an unrelated change in a revert :)

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.
dvyukov marked an inline comment as done.