[lld] r342446 - [COFF] Fix a block with incorrect indentation. NFC.
    Martin Storsjo via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep 18 00:21:55 PDT 2018
    
    
  
Author: mstorsjo
Date: Tue Sep 18 00:21:55 2018
New Revision: 342446
URL: http://llvm.org/viewvc/llvm-project?rev=342446&view=rev
Log:
[COFF] Fix a block with incorrect indentation. NFC.
Modified:
    lld/trunk/COFF/SymbolTable.cpp
Modified: lld/trunk/COFF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/SymbolTable.cpp?rev=342446&r1=342445&r2=342446&view=diff
==============================================================================
--- lld/trunk/COFF/SymbolTable.cpp (original)
+++ lld/trunk/COFF/SymbolTable.cpp Tue Sep 18 00:21:55 2018
@@ -179,9 +179,9 @@ bool SymbolTable::handleMinGWAutomaticIm
   if (Refptr && Refptr->getChunk()->getSize() == PtrSize) {
     SectionChunk *SC = dyn_cast_or_null<SectionChunk>(Refptr->getChunk());
     if (SC && SC->Relocs.size() == 1 && *SC->symbols().begin() == Sym) {
-        log("Replacing .refptr." + Name + " with " + Imp->getName());
-        Refptr->getChunk()->Live = false;
-        Refptr->replaceKeepingName(Imp, sizeof(DefinedImportData));
+      log("Replacing .refptr." + Name + " with " + Imp->getName());
+      Refptr->getChunk()->Live = false;
+      Refptr->replaceKeepingName(Imp, sizeof(DefinedImportData));
     }
   }
   return true;
    
    
More information about the llvm-commits
mailing list