diff options
author | Adrian McCarthy <amccarth@google.com> | 2016-01-21 20:58:12 +0000 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2016-01-21 20:58:12 +0000 |
commit | 225d3ea3401056ac20aef7e3a87741c9bfd88b80 (patch) | |
tree | 1b29e6f78ab67854be8d3ad12ded793e7251ad93 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | |
parent | fcc7c1a0baf8341b2d0926bd2e5244d684b48d8d (diff) | |
download | bcm5719-llvm-225d3ea3401056ac20aef7e3a87741c9bfd88b80.tar.gz bcm5719-llvm-225d3ea3401056ac20aef7e3a87741c9bfd88b80.zip |
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index b6624481324..ab2be36f415 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -649,6 +649,7 @@ ObjectFilePECOFF::GetSymtab() symbols[i].SetDebug(true); } } + m_symtab_ap->CalculateSymbolSizes(); } } return m_symtab_ap.get(); |