[PATCH] D34356: [PDB] Don't emit debug info associated with dead chunks

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 10:38:09 PDT 2017


rnk created this revision.
Herald added a subscriber: aprantl.

Previously we didn't add debug info chunks to the SparseChunks array, so
they didn't participate in section GC. Now we do.


https://reviews.llvm.org/D34356

Files:
  lld/COFF/Chunks.cpp
  lld/COFF/Chunks.h
  lld/COFF/InputFiles.cpp
  lld/COFF/PDB.cpp
  lld/COFF/Writer.cpp
  lld/test/COFF/Inputs/pdb_comdat_bar.yaml
  lld/test/COFF/Inputs/pdb_comdat_main.yaml
  lld/test/COFF/pdb-comdat.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34356.103073.patch
Type: text/x-patch
Size: 44666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170619/65d48701/attachment.bin>


More information about the llvm-commits mailing list