diff options
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 2fc201c5e8a..c0bf6b32e6e 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -305,7 +305,7 @@ void OutputSectionFactory::addInputSec(InputSectionBase *IS, SectionKey Key = createKey(IS, OutsecName); OutputSection *&Sec = Map[Key]; - return addInputSec(IS, OutsecName, Sec); + addInputSec(IS, OutsecName, Sec); } void OutputSectionFactory::addInputSec(InputSectionBase *IS, |