[all-commits] [llvm/llvm-project] 4f9964: [LinkerWrapper] Add support for --[no-]whole-archi...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jan 27 09:31:20 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f9964738b9c01f16bc962aac68e441377c8c842
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M clang/test/Driver/linker-wrapper-libs.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td

  Log Message:
  [LinkerWrapper] Add support for --[no-]whole-archive into the linker wrapper

This patch adds support for `--[no-]whole-archive` to the linker
wrapper. This allows us to bypass the symbol resolution logic that is
normally used for static archives. For multi-architecture binaries this
also allows us to build for every single member.

More information about the All-commits mailing list