Do not initialize Out<ELFT>::Opd until needed.
authorRui Ueyama <ruiu@google.com>
Tue, 9 Aug 2016 01:35:37 +0000 (01:35 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 9 Aug 2016 01:35:37 +0000 (01:35 +0000)
commit75118259bac43e6d3a28fdcc86c15c296c75806a
treef10466c8fe03180e44afc9cb49e234bf045158ca
parent53b9af02c8437c03508f5fb34d5902352300bf9a
Do not initialize Out<ELFT>::Opd until needed.

This change makes it clear that we need the variable only within
writeSections.

llvm-svn: 278083
lld/ELF/Writer.cpp