COFF: Emit a COFF symbol table if /debug:dwarf is specified.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 21 Nov 2017 01:14:14 +0000 (01:14 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 21 Nov 2017 01:14:14 +0000 (01:14 +0000)
commitf874bd67d810814f16cf1142ad00314f6dae332c
treecfaeb8408a2eb756cad724bdde40f49c4d71465a
parent1de35438e46fe456bc63444d5ef6ed15fd3fc67a
COFF: Emit a COFF symbol table if /debug:dwarf is specified.

This effectively reverts r318548 and r318635 while keeping the
functionality behind the flag and preserving the bug fix from r318548.

Differential Revision: https://reviews.llvm.org/D40264

llvm-svn: 318721
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/Symbols.h
lld/COFF/Writer.cpp
lld/test/COFF/strtab-size.s [new file with mode: 0644]
lld/test/COFF/symtab.test [new file with mode: 0644]