[all-commits] [llvm/llvm-project] 99dfcf: [CMake] [MinGW] Enable use of LLVM_USE_SANITIZER i...

zero9178 via All-commits all-commits at lists.llvm.org
Mon Feb 8 13:05:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99dfcfd14c1fef46891ba7aa7e0bf5ffad1f0de9
      https://github.com/llvm/llvm-project/commit/99dfcfd14c1fef46891ba7aa7e0bf5ffad1f0de9
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [CMake] [MinGW] Enable use of LLVM_USE_SANITIZER in a MinGW environment

Currently using LLVM_USE_SANITIZER with a MinGW target leads to a fatal
configuration error due to an unsupported platform. MinGW targets on
clang however implement a few sanitizers, currently ASAN and UBSAN.

This patch enables LLVM_USE_SANITIZER in a MinGW environment as well.

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




More information about the All-commits mailing list