Add CalculateSymbolSizes in ObjectFilePECOFF::GetSymtab to ensure that (nearly) all the symbols have sizes.
This fixes the `thread step-over` regression exposed by http://reviews.llvm.org/D16186 , which depends on the symbols having actual sizes. Nine tests on Windows had started failing as a result. They all work again with this fix. Differential Revision: http://reviews.llvm.org/D16415 llvm-svn: 258429
This commit is contained in:
parent
fcc7c1a0ba
commit
225d3ea340
|
@ -649,6 +649,7 @@ ObjectFilePECOFF::GetSymtab()
|
|||
symbols[i].SetDebug(true);
|
||||
}
|
||||
}
|
||||
m_symtab_ap->CalculateSymbolSizes();
|
||||
}
|
||||
}
|
||||
return m_symtab_ap.get();
|
||||
|
|
Loading…
Reference in New Issue