[PATCH] D102719: [PDB] Do not record PGO or coverage public symbols

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 13:15:19 PDT 2021


rnk created this revision.
rnk added reviewers: aganea, thakis, hans.
Herald added a subscriber: wenlei.
rnk requested review of this revision.
Herald added a project: LLVM.

These symbols are long, and they tend to cause the PDB file size to
overflow. They are generally not necessary when debugging problems in
user code.

This change reduces the size of chrome.dll.pdb with coverage from
6,937,108,480 bytes to 4,690,210,816 bytes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102719

Files:
  lld/COFF/PDB.cpp
  lld/test/COFF/pgo-pubs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102719.346256.patch
Type: text/x-patch
Size: 3739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210518/3cba4777/attachment.bin>


More information about the llvm-commits mailing list