[all-commits] [llvm/llvm-project] 1b6c82: [flang][driver] Don't use -whole-archive on Darwin...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Thu Dec 14 13:11:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b6c8280b9a672a9c6f5c22d18b1cdaa2320d4ed
      https://github.com/llvm/llvm-project/commit/1b6c8280b9a672a9c6f5c22d18b1cdaa2320d4ed
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M flang/test/Driver/no-duplicate-main.f90

  Log Message:
  -----------
  [flang][driver] Don't use -whole-archive on Darwin (#75393)

Direct follow-up of #73124 - the linker on Darwin does not support
`-whole-archive`, so that needs to be removed from the linker
invocation.

For context:
  * https://github.com/llvm/llvm-project/pull/73124




More information about the All-commits mailing list