[llvm-bugs] [Bug 34239] clang generated object files linked with MSVC /DEBUG:FASTLINK generate huge PDBs

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 6 09:13:26 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34239

Zachary Turner <zturner at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #23 from Zachary Turner <zturner at google.com> ---
Closing this issue out since the size issues are fixed.  Since this was
originally reported for Chrome, I wanted to get some numbers against Chrome
before closing it out for good.  

Before patch:

08/16/2017  01:49 PM     1,079,554,048 content.dll.pdb
08/16/2017  12:56 PM     1,365,020,672 chrome.dll.pdb

after patch:

09/05/2017  08:08 PM       528,838,656 content.dll.pdb
09/06/2017  08:43 AM       777,490,432 chrome.dll.pdb

@blaikie: I'm going to look at what happens with out of line class definitions
separately.  I've also found another strange issue which ist hat when you have 

typedef struct { int X; } S;

we output 2 S_UDT records for this, one of which points to a forward decl and
could confuse the debugger.

But I'm considering this (and any potential issue we might have regarding
out-of-line definitions) a debug info quality issue, so I'll treat it
separately from this size issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170906/c70ec633/attachment-0001.html>


More information about the llvm-bugs mailing list