[all-commits] [llvm/llvm-project] 060681: [CMake] Handle in-tree libc++ for sanitizer tests

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed Jan 26 13:09:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0606817d0b02321eaaf905e9c8246c63a1c0482f
      https://github.com/llvm/llvm-project/commit/0606817d0b02321eaaf905e9c8246c63a1c0482f
  Author: Petr Hosek <phosek at google.com>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

  Changed paths:
    M compiler-rt/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Handle in-tree libc++ for sanitizer tests

We have been relying on the logic for C++ ABI library for sanitizer
tests but that's incorrect since most tests require a full C++ library
and not just C++ ABI. This change tries to address this by using the
dependency on libc++ if available.

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




More information about the All-commits mailing list