[all-commits] [llvm/llvm-project] a80e65: [libc++] Overhaul how we select the ABI library

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri May 13 05:32:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a80e65e00ada7a9c16acf17a5fd40b4f12ced3a8
      https://github.com/llvm/llvm-project/commit/a80e65e00ada7a9c16acf17a5fd40b4f12ced3a8
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-05-13 (Fri, 13 May 2022)

  Changed paths:
    M clang/cmake/caches/CrossWinToARMLinux.cmake
    M libcxx/CMakeLists.txt
    M libcxx/cmake/Modules/HandleLibCXXABI.cmake
    M libcxx/docs/BuildingLibcxx.rst
    M libcxx/include/CMakeLists.txt
    M libcxx/lib/abi/CMakeLists.txt
    M libcxx/src/CMakeLists.txt
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/legacy.cfg.in
    M libcxx/utils/libcxx/test/config.py
    M libcxxabi/test/configs/apple-libc++abi-backdeployment.cfg.in
    M libcxxabi/test/configs/apple-libc++abi-shared.cfg.in
    M libcxxabi/test/configs/cmake-bridge.cfg.in
    M libcxxabi/test/configs/ibm-libc++abi-shared.cfg.in

  Log Message:
  -----------
  [libc++] Overhaul how we select the ABI library

This patch overhauls how we pick up the ABI library. Instead of setting
ad-hoc flags, it creates interface targets that can be linked against by
the rest of the build, which is easier to follow and extend to support
new ABI libraries.

This is intended to be a NFC change, however there are some additional
simplifications and improvements we can make in the future that would
require a slight behavior change.

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




More information about the All-commits mailing list