[PATCH] D93525: [OpenMP] Add unbundling of archives containing bundled object files into device specific archives

Tony Tye via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 10:57:27 PST 2021


t-tye added a comment.

In D93525#2493024 <https://reviews.llvm.org/D93525#2493024>, @yaxunl wrote:

> can you document this in ClangOffloadBundler.rst ? I think we need a clear description about how clang-offload-bundler knows which file in the .a file belongs to which target.

How does the .a relate to bundled code objects? Does the .a have a number of bundled code objects? If so wouldn't the identity of code objects be defined by the existing bundled code object ABI already documented? If the .a is a set of non-bundled code objects then defining how they are identified is not part of the clang-offload-bundler documentation as there are no bundled code objects involved. It would seem that the documentation belongs with the OpenMP runtime/compiler that is choosing to use .a files in this manner.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93525



More information about the cfe-commits mailing list