COFF: Change OutputSections' type from vector<unique_ptr<T>> to vector<T*>.
authorRui Ueyama <ruiu@google.com>
Wed, 3 Jun 2015 16:44:00 +0000 (16:44 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 3 Jun 2015 16:44:00 +0000 (16:44 +0000)
commitbda72a4af4fd7b1b743c70ade58cc3d562fa1eca
tree018e61e2e4b72cb45014223da8c8af92af26627a
parent125c9f5f7b81c78ef19ffd85afeb3f389eb8bc59
COFF: Change OutputSections' type from vector<unique_ptr<T>> to vector<T*>.

This is mainly for readability. OutputSection objects are still owned
by the writer using SpecificBumpPtrAllocator.

llvm-svn: 238936
lld/COFF/Writer.cpp
lld/COFF/Writer.h