From b0716269baa3e7091fe62e1e8007acae6bf14d26 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Fri, 13 Aug 2021 16:24:11 +0100 Subject: [PATCH] [sanitizer_common] disable format errors. This broke https://lab.llvm.org/buildbot/#/builders/37/builds/6061/steps/32/logs/stdio Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D108042 --- compiler-rt/lib/sanitizer_common/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler-rt/lib/sanitizer_common/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/CMakeLists.txt index 543ed407c0e2..9cfe6d43e1ff 100644 --- a/compiler-rt/lib/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/lib/sanitizer_common/CMakeLists.txt @@ -201,6 +201,10 @@ set(SANITIZER_COMMON_DEFINITIONS HAVE_RPC_XDR_H=${HAVE_RPC_XDR_H}) set(SANITIZER_CFLAGS ${SANITIZER_COMMON_CFLAGS}) + +# Too many existing bugs, needs cleanup. +append_list_if(COMPILER_RT_HAS_WNO_FORMAT -Wno-format SANITIZER_CFLAGS) + append_rtti_flag(OFF SANITIZER_CFLAGS) append_list_if(SANITIZER_LIMIT_FRAME_SIZE -Wframe-larger-than=570