Use linker script commands in writeMapFile.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 May 2017 21:30:14 +0000 (21:30 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 May 2017 21:30:14 +0000 (21:30 +0000)
commita46f688e8f4d90444e3537f046cac2e7c67120b3
tree7798f9dd26d63ebcf7cdd6b76bca9e1570596889
parent795de8a7bdb5443a0196dcb9158a30ad6d68ab61
Use linker script commands in writeMapFile.

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.

llvm-svn: 303384
lld/ELF/LinkerScript.cpp
lld/ELF/MapFile.cpp
lld/ELF/MapFile.h
lld/ELF/Writer.cpp