forked from OSchip/llvm-project
[COFF] Fix a block with incorrect indentation. NFC.
llvm-svn: 342446
This commit is contained in:
parent
4f361612d1
commit
cb9570eb22
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue