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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 01:32:39 PDT 2025


jh7370 wrote:

> > Regarding the use of errs() directly in a library, I think it would be better to pass the stream to verbose print to into the library, rather than use errs() directly. The reasoning for this is related to what I talked about in an LLVM conference talk ages ago regarding errors in libraries: the client tool may need control as to where output goes. For example, it may want to send the verbose output to a log file, but keep the actual error messages on stderr, making redirection on the command-line inappropriate.
> 
> This out-of-line comment seems to have been ignored?

Still ignored?

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


More information about the llvm-commits mailing list