[all-commits] [llvm/llvm-project] 123c58: sanitizer_common: enable format string checking

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Aug 13 04:45:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 123c58ea26b44959582c92b5384715f72a66ad3b
      https://github.com/llvm/llvm-project/commit/123c58ea26b44959582c92b5384715f72a66ad3b
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/cfi/CMakeLists.txt
    M compiler-rt/lib/dfsan/CMakeLists.txt
    M compiler-rt/lib/hwasan/CMakeLists.txt
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/memprof/CMakeLists.txt
    M compiler-rt/lib/msan/CMakeLists.txt
    M compiler-rt/lib/scudo/CMakeLists.txt
    M compiler-rt/lib/tsan/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt
    M compiler-rt/lib/xray/CMakeLists.txt

  Log Message:
  -----------
  sanitizer_common: enable format string checking

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.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D107981




More information about the All-commits mailing list