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

Vitaly Buka via All-commits all-commits at lists.llvm.org
Thu Sep 7 19:34:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d14b4a872577bf7ab5ef5bb6f8a2f10781a5f18
      https://github.com/llvm/llvm-project/commit/4d14b4a872577bf7ab5ef5bb6f8a2f10781a5f18
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-07 (Thu, 07 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