[all-commits] [llvm/llvm-project] 919ca9: [compiler-rt] separate lsan, ubsan, stats configur...

Emily Shi via All-commits all-commits at lists.llvm.org
Wed Nov 10 19:16:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 919ca9fc045f84b507bf80332c398a6fc3be1681
      https://github.com/llvm/llvm-project/commit/919ca9fc045f84b507bf80332c398a6fc3be1681
  Author: Emily Shi <code at emi.sh>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/lsan/CMakeLists.txt
    M compiler-rt/lib/stats/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt
    M compiler-rt/lib/ubsan_minimal/CMakeLists.txt
    M compiler-rt/test/ubsan/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] separate lsan, ubsan, stats configuration from SANITIZER_COMMON_SUPPORTED_OS

Currently, SANITIZER_COMMON_SUPPORTED_OS is being used to enable many libraries.
Unfortunately this makes it impossible to selectively disable a library based on the OS.
This patch removes this limitation by adding a separate list of supported OSs for the lsan, ubsan, ubsan_minimal, and stats libraries.

Reviewed By: delcypher

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




More information about the All-commits mailing list