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

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 22 12:48:43 PDT 2025


================
@@ -32,42 +32,56 @@ namespace llvm {
 
 namespace object {
 
+// CompressedOffloadBundle represents the format for the compressed offload
+// bundles.
+//
+// The format is as follows:
+// - Magic Number (4 bytes) - A constant "CCOB".
----------------
jhuber6 wrote:

This is probably more easily explained as a struct.

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


More information about the llvm-commits mailing list