Don't add null and discarded sections to the global list.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 8 Nov 2016 18:23:02 +0000 (18:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 8 Nov 2016 18:23:02 +0000 (18:23 +0000)
commit8f9026baff6889079f79910187d3d77ded2d1ca1
treed9efd5471cc892780e5a3ad15d7a3783f0289619
parent01659cb9fe424209ebf8cd80565ad4d6c5b159ee
Don't add null and discarded sections to the global list.

Avoids having to skip them multiple times.

llvm-svn: 286261
lld/ELF/Driver.cpp
lld/ELF/ICF.cpp
lld/ELF/LinkerScript.cpp
lld/ELF/MarkLive.cpp
lld/ELF/Writer.cpp