diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-23 20:10:47 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-23 20:10:47 +0000 |
commit | 65499b9040e42942c93dac1c2110948dc7565d8e (patch) | |
tree | d48d77857a83854b8454ed5a3412fcd44d2b3c8c /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 0d26de39227ecf459cd0d617e9f98edfbba39e3e (diff) | |
download | llvm-65499b9040e42942c93dac1c2110948dc7565d8e.zip llvm-65499b9040e42942c93dac1c2110948dc7565d8e.tar.gz llvm-65499b9040e42942c93dac1c2110948dc7565d8e.tar.bz2 |
Avoid counting sections twice.
We were counting the size of the bss section holding common symbols twice:
Dot += CurOutSec->getSize();
flush();
The new code is also simpler as now flush is the only function that
inserts in AlreadyOutputOS, which makes sense since the set hold fully
output sections.
llvm-svn: 282285
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions