This is an archive of the discontinued LLVM Phabricator instance.

[lld] COFF: Implement /lldmap flag.
ClosedPublic

Authored by pcc on Jun 26 2015, 11:26 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 28581.Jun 26 2015, 11:26 AM
pcc retitled this revision from to [lld] COFF: Implement /lldmap flag..
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: ruiu.
pcc added a subscriber: Unknown Object (MLST).
ruiu accepted this revision.Jun 26 2015, 11:49 AM
ruiu edited edge metadata.

LGTM with a few nits.

COFF/Driver.cpp
604 ↗(On Diff #28581)

Add using at beginning of this file and use F_Text for consistency.

COFF/Options.td
93 ↗(On Diff #28581)

Please remove this flag since it's dead.

COFF/SymbolTable.cpp
244 ↗(On Diff #28581)

auto *R = ...

This revision is now accepted and ready to land.Jun 26 2015, 11:49 AM
This revision was automatically updated to reflect the committed changes.