diff options
author | Martin Storsjo <martin@martin.st> | 2018-11-27 20:48:09 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-11-27 20:48:09 +0000 |
commit | 333e0d180f34e665aa68776416b4ccb4d9153309 (patch) | |
tree | 642b92f4f265abe284d0234528ed98e79695b515 /lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp | |
parent | 5db3d33938f6268bd7a1bdbbe0525cb28d77acf8 (diff) | |
download | bcm5719-llvm-333e0d180f34e665aa68776416b4ccb4d9153309.tar.gz bcm5719-llvm-333e0d180f34e665aa68776416b4ccb4d9153309.zip |
[COFF] Remove empty sections before calculating the size of section headers
The number of sections is used in assignAddresses (in
finalizeAddresses) and the space for all sections is permanent from
that point on, even if we later decide we won't write some of them.
The VirtualSize field also gets calculated in assignAddresses, so we
need to manually check whether the section is empty here instead.
Differential Revision: https://reviews.llvm.org/D54495
llvm-svn: 347704
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp')
0 files changed, 0 insertions, 0 deletions