[ELF] Teach GNU Driver about --stats.
authorDavide Italiano <davide@freebsd.org>
Sun, 22 Feb 2015 03:12:21 +0000 (03:12 +0000)
committerDavide Italiano <davide@freebsd.org>
Sun, 22 Feb 2015 03:12:21 +0000 (03:12 +0000)
commit9483dc21be9eb62cc70b9c9c66b8f2d22132a606
tree5b3715087a0e2f27ba544a003578c1cfc712ff2a
parent429fa1220d638d5fa3d8b4e604252bf46af6b212
[ELF] Teach GNU Driver about --stats.

This is mainly for back-compatibility with GNU ld.
Ideally --stats should be a general option in LinkingContext, providing
individual stats for every pass in the linking process.
In the GNU driver, a better wording could be used, but there's no need
to change it for now.

Differential Revision: D7657
Reviewed by: ruiu

llvm-svn: 230157
lld/include/lld/ReaderWriter/ELFLinkingContext.h
lld/lib/Driver/GnuLdDriver.cpp
lld/lib/Driver/GnuLdOptions.td
lld/lib/ReaderWriter/ELF/ELFLinkingContext.cpp