[all-commits] [llvm/llvm-project] a78861: [NvlinkWrapper] Add support for `--undefined` (#11...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 29 13:34:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a78861fc55d18046989ff4d624a037e9181da170
      https://github.com/llvm/llvm-project/commit/a78861fc55d18046989ff4d624a037e9181da170
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

  Changed paths:
    M clang/test/Driver/nvlink-wrapper.c
    M clang/tools/clang-nvlink-wrapper/ClangNVLinkWrapper.cpp
    M clang/tools/clang-nvlink-wrapper/NVLinkOpts.td

  Log Message:
  -----------
  [NvlinkWrapper] Add support for `--undefined` (#113934)

Summary:
This flag is pretty canonical in ELF linkers, it allows us to force the
link job to extract a library if it defines a specific symbol. This is
mostly useful for letting us forcibly extract things that don't fit the
normal model (i.e. kernels) from static libraries.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list