[lld] r350767 - Fix formatting. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 9 14:24:28 PST 2019
Author: ruiu
Date: Wed Jan 9 14:24:27 2019
New Revision: 350767
URL: http://llvm.org/viewvc/llvm-project?rev=350767&view=rev
Log:
Fix formatting. NFC.
Modified:
lld/trunk/ELF/MarkLive.cpp
Modified: lld/trunk/ELF/MarkLive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/MarkLive.cpp?rev=350767&r1=350766&r2=350767&view=diff
==============================================================================
--- lld/trunk/ELF/MarkLive.cpp (original)
+++ lld/trunk/ELF/MarkLive.cpp Wed Jan 9 14:24:27 2019
@@ -250,9 +250,10 @@ template <class ELFT> static void doGcSe
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);
}
More information about the llvm-commits
mailing list