| commit | 0e2bfb1e3b0864576ffebd00ce5b3c5d38c0dc8a | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Sat Oct 07 00:43:31 2017 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Sat Oct 07 00:43:31 2017 +0000 |
| tree | 4cd51551f744061f791cca18cfa76f860cfa7cc2 | |
| parent | 850b55439957d1900639078f8b8ee0bbc9be4efb [diff] |
Merge addInputSec with OutputSection::addSection. Previously, when we added an input section to an output section, we called `OutputSectionFactory::addInputSec`. This isn't a good design because, a factory class is intended to create a new object and return it, but in this use case, it will never create a new object. This patch fixes the design flaw. llvm-svn: 315138