[lld] r300444 - [ELF] - Implemented --compress-debug-sections option.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 16:09:27 PDT 2017


Yes, we should. Done in r301757.

On Sat, Apr 29, 2017 at 8:26 AM, Rafael Avila de Espindola via llvm-commits
<llvm-commits at lists.llvm.org> wrote:

> > +static bool getCompressDebugSections(opt::InputArgList &Args) {
> > +  if (auto *Arg = Args.getLastArg(OPT_compress_debug_sections)) {
> > +    StringRef S = Arg->getValue();
> > +    if (S == "none")
> > +      return false;
> > +    if (S == "zlib")
> > +      return zlib::isAvailable();
>
> Should it be an error if compression is requested but zlib is not
> available?
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170429/46051d26/attachment.html>


More information about the llvm-commits mailing list