[cfe-dev] Clang for windows: Release with pdb option generates huge binaries

Reid Kleckner rnk at google.com
Tue May 19 11:19:50 PDT 2015


Clang is currently generating dwarf for consumption by LLDB. There isn't
yet support for split debug info. We probably shouldn't be generating dwarf
when clang-cl gets -Zi.

On Tue, May 19, 2015 at 12:23 AM, Tilo Kühn <tilo.kuehn.73 at googlemail.com>
wrote:

>  i'm not sure if this is a bug or a missing option. when building release code
> with clang in msvc my binaries are way to big when compiling with option
> /Zi. it seems the linker doesn't strip out all the debug informations. i
> did a full rebuild once with /Zi and once with no debug informations and
> the resulting binaries ended up with 17 MB vs 7 MB ... in my opinion all
> the debug informations should go into the pdb file. at least this is what i
> see when usign the intel compiler or msvc compiler.
>
> thx
> tilo
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150519/153eb34c/attachment.html>


More information about the cfe-dev mailing list