[ELF] Record created ThunkSections in InputSectionDescription [NFC].
authorPeter Smith <peter.smith@linaro.org>
Fri, 27 Oct 2017 08:56:20 +0000 (08:56 +0000)
committerPeter Smith <peter.smith@linaro.org>
Fri, 27 Oct 2017 08:56:20 +0000 (08:56 +0000)
commit4a8e11595c9283354cac92876376c32e1a202cd3
tree727ea3660a370900849bdda5700e3c06c17adff2
parentb237f044a48cfaaecd258878a4ac283e8be62124
[ELF] Record created ThunkSections in InputSectionDescription [NFC].

Instead of maintaining a map of the std::vector to ThunkSections, record the
ThunkSections directly in InputSectionDescription.

Differential Revision: https://reviews.llvm.org/D37743

llvm-svn: 316750
lld/ELF/LinkerScript.h
lld/ELF/Relocations.cpp
lld/ELF/Relocations.h