Fix formatting. NFC.

llvm-svn: 350767
This commit is contained in:
Rui Ueyama 2019-01-09 22:24:27 +00:00
parent 55ddb2c790
commit c58fbe3c71
1 changed files with 3 additions and 2 deletions

View File

@ -250,9 +250,10 @@ template <class ELFT> static void doGcSections() {
if (Sec->Flags & SHF_LINK_ORDER)
continue;
if (isReserved<ELFT>(Sec) || Script->shouldKeep(Sec))
if (isReserved<ELFT>(Sec) || Script->shouldKeep(Sec)) {
Enqueue(Sec, 0);
else if (isValidCIdentifier(Sec->Name)) {
} else if (isValidCIdentifier(Sec->Name)) {
CNamedSections[Saver.save("__start_" + Sec->Name)].push_back(Sec);
CNamedSections[Saver.save("__stop_" + Sec->Name)].push_back(Sec);
}