diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -687,15 +687,14 @@ if (config->unique) { v.push_back(createSection(s, name)); - } - else { + } else { if (OutputSection *sec = findByName(sectionCommands, name)) { sec->recordSection(s); } else { if (OutputSection *os = addInputSec(map, s, name)) v.push_back(os); assert(isa(s) || - s->getOutputSection()->sectionIndex == UINT32_MAX); + s->getOutputSection()->sectionIndex == UINT32_MAX); } } }