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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 01:16:09 PDT 2025


================
@@ -63,9 +63,9 @@ class CompressedOffloadBundle {
 
   static llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
   compress(llvm::compression::Params P, const llvm::MemoryBuffer &Input,
-           uint16_t Version, bool Verbose = false);
+           uint16_t Version, bool Verbose = false, raw_ostream &OutS = errs());
----------------
jh7370 wrote:

Rather than have two fields related to verbose output, how about we use a single optional argument? Something like `raw_ostream *VerboseStream`?

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


More information about the llvm-commits mailing list