[all-commits] [llvm/llvm-project] b7fb85: [libc++] Simplify how we define the linker script ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Aug 3 06:30:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7fb8563974d83f9eb8191fdfbebfd04147a2cbd
      https://github.com/llvm/llvm-project/commit/b7fb8563974d83f9eb8191fdfbebfd04147a2cbd
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    R libcxx/cmake/Modules/DefineLinkerScript.cmake
    M libcxx/src/CMakeLists.txt

  Log Message:
  -----------
  [libc++] Simplify how we define the linker script for libc++

Trying to be generic didn't work properly because we had to special-case
some interface libraries that we didn't want in the linker script. Instead,
only look at the ABI and the unwinding libraries explicitly.

This should solve the issue reported by @dim in [1].

[1]: https://discourse.llvm.org/t/15-0-0-rc1-has-been-tagged/64174/22

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




More information about the All-commits mailing list