[LLD][ELF] - Remove the excessive safety return. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 26 Nov 2018 10:33:29 +0000 (10:33 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 26 Nov 2018 10:33:29 +0000 (10:33 +0000)
commita44c0f27c2980ade99e10c5db73dd2d4ae419c0b
tree30c4c54e93125c3594fbcf469929497c731b0233
parent5338f7aae42f224b7e0d4b18ff61ed3b32e27074
[LLD][ELF] - Remove the excessive safety return. NFC.

We explicitly call finalizeContents() only once for
DynamicSection. The code testing we do not do it twice is
just excessive.

It could be an assert, but we don't do
that for other sections, so does not seem we
should do it here too.

llvm-svn: 347543
lld/ELF/SyntheticSections.cpp