[all-commits] [llvm/llvm-project] 61b13e: [ClangOffloadBundler] fix unbundling archive (#84195)

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Thu Mar 7 06:26:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61b13e0dfe1b476d9bf0fe477983be8471cfd26b
      https://github.com/llvm/llvm-project/commit/61b13e0dfe1b476d9bf0fe477983be8471cfd26b
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/test/Driver/clang-offload-bundler.c

  Log Message:
  -----------
  [ClangOffloadBundler] fix unbundling archive (#84195)

When unbundling an archive, need to save the content of each object file
to a temporary file before passing it to llvm-objcopy, instead of
passing the original input archive file to llvm-objcopy.

Also allows extracting host bundles for archives.

Fixes: https://github.com/llvm/llvm-project/issues/83509



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