[PATCH] D133705: [HIP] Fix unbundling archive

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 24 07:38:23 PDT 2022


yaxunl updated this revision to Diff 462673.
yaxunl added a comment.

I just found clang-offload-bundler reports an error when trying to unbundle an archive but the input file is not an archive.

This update let clang-offload-bundler to extract empty archives when the input file is not an archive and -allow-missing-bundles is specified.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133705/new/

https://reviews.llvm.org/D133705

Files:
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/OffloadBundler.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/clang-offload-bundler.c
  clang/test/Driver/hip-link-bundle-archive.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133705.462673.patch
Type: text/x-patch
Size: 15133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220924/2faed964/attachment-0001.bin>


More information about the cfe-commits mailing list