[all-commits] [llvm/llvm-project] 9dc5d8: [sanitizer] Add CMake flag to build with internal ...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Sep 8 16:57:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dc5d8df16030a63deb2a425c6122985b5a06891
      https://github.com/llvm/llvm-project/commit/9dc5d8df16030a63deb2a425c6122985b5a06891
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/CMakeLists.txt
    A compiler-rt/lib/sanitizer_common/symbolizer/CMakeLists.txt
    M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh

  Log Message:
  -----------
  [sanitizer] Add CMake flag to build with internal symbolizer

This intermediate result in moving internal symbolizer build
from sh script to CMake rules.

The flag is supposed to be used with:
-DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" -DLLVM_ENABLE_RUNTIMES="libunwind;libcxx;libcxxabi" -Sllvm-project/llvm

After converting sh script into cmake, we may add support for other build modes.

For https://github.com/llvm/llvm-project/issues/30098

Reviewed By: kstoimenov, MaskRay

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




More information about the All-commits mailing list