[PATCH] D93525: [clang-offload-bundler] Add unbundling of archives containing bundled object files into device specific archives

George Rokos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 30 05:34:58 PDT 2021


grokos added inline comments.


================
Comment at: clang/docs/ClangOffloadBundler.rst:128
+
+  <Architecture>-<Vendor>-<OS>-<Environment>
+
----------------
A bit of wordplay, but it's weird that a *triple* now has 4 elements...


================
Comment at: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp:147
+    Target.split(Components, '-', 5);
+    Components.resize(6);
+    this->OffloadKind = Components[0];
----------------
Leftover? `Components` is already 6 elements long.


================
Comment at: clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp:1102
+/// compatible with this code object
+/// @param [in] Code Object \p CodeObject
+/// @param [out] List of all compatible targets \p CompatibleTargets among all
----------------
`CodeObject` --> `CodeObjectInfo`


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