[compiler-rt] b071626 - [sanitizer_common] disable format errors.

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 09:52:37 PDT 2021


Author: Florian Mayer
Date: 2021-08-13T17:52:24+01:00
New Revision: b0716269baa3e7091fe62e1e8007acae6bf14d26

URL: https://github.com/llvm/llvm-project/commit/b0716269baa3e7091fe62e1e8007acae6bf14d26
DIFF: https://github.com/llvm/llvm-project/commit/b0716269baa3e7091fe62e1e8007acae6bf14d26.diff

LOG: [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

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/CMakeLists.txt

Removed: 
    


################################################################################
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


        


More information about the llvm-commits mailing list