[all-commits] [llvm/llvm-project] 383ed8: [clang] Pass more flags to ld64.lld

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Feb 17 13:46:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 383ed82dd1f8c4ea7e88a4cf92dd918dda794854
      https://github.com/llvm/llvm-project/commit/383ed82dd1f8c4ea7e88a4cf92dd918dda794854
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    A clang/test/Driver/darwin-ld-lto-lld.c
    M clang/test/Driver/darwin-ld-lto.c
    M clang/test/Driver/darwin-ld.c

  Log Message:
  -----------
  [clang] Pass more flags to ld64.lld

* ld64.lld now completely supports -export_dynamic (D119372), so map -rdynamic
  to -export_dynamic like already done for ld64

* ld64.lld has been supporting -object_path_lto for well over a year (D92537),
  so pass it like already done for ld64

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




More information about the All-commits mailing list