diff options
| author | Rui Ueyama <ruiu@google.com> | 2019-01-09 22:24:27 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2019-01-09 22:24:27 +0000 |
| commit | c58fbe3c7116134d21f6aa844cc00e16e9dc8c5f (patch) | |
| tree | 37d6411e47f74bd7bc25d7773828b936e5e39540 | |
| parent | 55ddb2c790df459d17d8c675e45c0569765d64cf (diff) | |
| download | bcm5719-llvm-c58fbe3c7116134d21f6aa844cc00e16e9dc8c5f.tar.gz bcm5719-llvm-c58fbe3c7116134d21f6aa844cc00e16e9dc8c5f.zip | |
Fix formatting. NFC.
llvm-svn: 350767
| -rw-r--r-- | lld/ELF/MarkLive.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp index 817a0c8b65f..8d0ec091c32 100644 --- a/lld/ELF/MarkLive.cpp +++ b/lld/ELF/MarkLive.cpp @@ -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); } |

