[llvm] Fix compress/decompress in LLVM Offloading API (PR #150064)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 02:19:07 PDT 2025


================
@@ -102,7 +137,8 @@ Error OffloadBundleFatBin::readEntries(StringRef Buffer,
       return errorCodeToError(object_error::parse_failed);
 
     auto Entry = std::make_unique<OffloadBundleEntry>(
-        EntryOffset + SectionOffset, EntrySize, EntryIDSize, EntryID);
+        EntryOffset + SectionOffset, EntrySize, EntryIDSize,
+        std::move(EntryID.str()));
----------------
jh7370 wrote:

This is causing a build error in the pre-merge checks (but see also my comment above - just pass `EntryID` in here).

https://github.com/llvm/llvm-project/pull/150064


More information about the llvm-commits mailing list