This is an archive of the discontinued LLVM Phabricator instance.

Use linker script commands in writeMapFile
ClosedPublic

Authored by rafael on May 18 2017, 10:54 AM.

Details

Reviewers
ruiu
peter.smith
Summary

This converts the last (chronologically) user of OutputSections to use the linker script commands instead.

The idea is to convert all uses after fabricateDefaultCommands, so that we have a single representation.

Diff Detail

Event Timeline

rafael created this revision.May 18 2017, 10:54 AM
ruiu added inline comments.May 18 2017, 11:03 AM
ELF/Writer.cpp
294

The only thing we have below is writeMapFile, so it's probably too late to do this. I'd move this up or remove.

ruiu accepted this revision.May 18 2017, 12:13 PM

LGTM

This revision is now accepted and ready to land.May 18 2017, 12:13 PM
espindola closed this revision.Mar 14 2018, 4:09 PM
espindola added a subscriber: espindola.

303384