[all-commits] [llvm/llvm-project] 2ca1cd: [cmake] By default do not instrument compiler-rt i...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Tue Nov 9 02:00:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ca1cd7e37610247b475ee0c74de2de45a0b8bde
      https://github.com/llvm/llvm-project/commit/2ca1cd7e37610247b475ee0c74de2de45a0b8bde
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/config-ix.cmake
    M compiler-rt/lib/crt/CMakeLists.txt

  Log Message:
  -----------
  [cmake] By default do not instrument compiler-rt if LLVM_BUILD_INSTRUMENTED_COVERAGE is ON

Applying the same rules as for LLVM_BUILD_INSTRUMENTED build in the cmake files.
By having this patch, we are able to disable/enable instrument+coverage build
of the compiler-rt project when building instrumented LLVM.

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




More information about the All-commits mailing list