This is an archive of the discontinued LLVM Phabricator instance.

COFF: Process /merge flag as we create output sections.
ClosedPublic

Authored by pcc on Apr 5 2018, 8:03 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Apr 5 2018, 8:03 PM
ruiu added inline comments.Apr 5 2018, 8:16 PM
lld/COFF/Writer.cpp
218–219 ↗(On Diff #141267)

It is not obvious why only .pdata is handled in a special way. Can you add a comment?

406 ↗(On Diff #141267)

auto -> OutputSection *

pcc updated this revision to Diff 141272.Apr 5 2018, 8:45 PM
  • Address review comments
pcc marked 2 inline comments as done.Apr 5 2018, 8:45 PM
ruiu accepted this revision.Apr 6 2018, 5:01 PM

LGTM

lld/COFF/Writer.cpp
1178 ↗(On Diff #141272)

BufAddr

This revision is now accepted and ready to land.Apr 6 2018, 5:01 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.
pcc marked an inline comment as done.