This ports the ELF linker's symbol table design, introduced in r268178, to the COFF linker. Differential Revision: http://reviews.llvm.org/D21166 llvm-svn: 289280
Conceptually, garbage collection is not part of Writer, so move the function out of the file. llvm-svn: 248099