| commit | 40845e6d374b79337bcaec17d20209ac40c2e4f8 | [log] [tgz] | 
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Sat Dec 26 05:51:07 2015 +0000 | 
| committer | Rui Ueyama <ruiu@google.com> | Sat Dec 26 05:51:07 2015 +0000 | 
| tree | e9ba970863dc82aa92e1747df6cbeb1bc7b38bd5 | |
| parent | afefb1f13bae49da298982a79d83e03be5b6b9bd [diff] | 
Use virtual function instead of hand-written type dispatch. OutputSectionBase already has virtual member functions. This patch makes addSection() a virtual function to remove code from Writer::createSections(). llvm-svn: 256436