[COFF] Fix a block with incorrect indentation. NFC.

llvm-svn: 342446
This commit is contained in:
Martin Storsjo 2018-09-18 07:21:55 +00:00
parent 4f361612d1
commit cb9570eb22
1 changed files with 3 additions and 3 deletions

View File

@ -179,9 +179,9 @@ bool SymbolTable::handleMinGWAutomaticImport(Symbol *Sym, StringRef Name) {
if (Refptr && Refptr->getChunk()->getSize() == PtrSize) { if (Refptr && Refptr->getChunk()->getSize() == PtrSize) {
SectionChunk *SC = dyn_cast_or_null<SectionChunk>(Refptr->getChunk()); SectionChunk *SC = dyn_cast_or_null<SectionChunk>(Refptr->getChunk());
if (SC && SC->Relocs.size() == 1 && *SC->symbols().begin() == Sym) { if (SC && SC->Relocs.size() == 1 && *SC->symbols().begin() == Sym) {
log("Replacing .refptr." + Name + " with " + Imp->getName()); log("Replacing .refptr." + Name + " with " + Imp->getName());
Refptr->getChunk()->Live = false; Refptr->getChunk()->Live = false;
Refptr->replaceKeepingName(Imp, sizeof(DefinedImportData)); Refptr->replaceKeepingName(Imp, sizeof(DefinedImportData));
} }
} }
return true; return true;