[COFF] Add an LLD specific option -debug:symbtab
authorMartin Storsjo <martin@martin.st>
Fri, 29 Jun 2018 06:08:25 +0000 (06:08 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 29 Jun 2018 06:08:25 +0000 (06:08 +0000)
commit3a7905b2aac4931b1981193bf99ca915fe474139
tree2349acab75819f7233434f4af44b9d07fb60441b
parent8bf793fb3521f27e99b559b8f4524a71650a32ca
[COFF] Add an LLD specific option -debug:symbtab

With this set, we retain the symbol table, but skip the actual debug
information.

This is meant to be used by the MinGW frontend.

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

llvm-svn: 335946
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/Options.td
lld/COFF/Writer.cpp
lld/test/COFF/sort-debug.test
lld/test/COFF/symtab.test