COFF: Implement /lldmap flag.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 26 Jun 2015 18:58:24 +0000 (18:58 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 26 Jun 2015 18:58:24 +0000 (18:58 +0000)
commitbe54955bba298553d04780d68f61d0f4692ce555
tree46fcbc9b473a074cd3cdc3d10234ceae3930f961
parent65ff7ccf21a738fa2c33a6dcc0ac474ee72277dc
COFF: Implement /lldmap flag.

This flag can be used to produce a map file, which is essentially a list
of objects linked into the final output file together with the RVAs of
their symbols. Because our format differs from MSVC's we expose it as a
separate flag.

Differential Revision: http://reviews.llvm.org/D10773

llvm-svn: 240812
lld/COFF/Driver.cpp
lld/COFF/Options.td
lld/COFF/SymbolTable.cpp
lld/COFF/SymbolTable.h
lld/COFF/Symbols.h
lld/test/COFF/lldmap.test [new file with mode: 0644]