Virtual sections do not contribute to the final output size.
This diff fixes the corresponding calculations in the method MachOWriter::totalSize.
Test plan: make check-all
Differential D89661
[llvm-objcopy][MachO] Fix the calculation of the output size alexander-shaposhnikov on Oct 18 2020, 5:11 PM. Authored by
Details Virtual sections do not contribute to the final output size. Test plan: make check-all
Diff Detail
Event Timeline
|
virtual section is a LLVM specific abstraction. Probably use zerofill?