diff options
author | Alexander Shaposhnikov <alexshap@fb.com> | 2020-10-22 13:25:13 -0700 |
---|---|---|
committer | Alexander Shaposhnikov <alexshap@fb.com> | 2020-10-22 13:58:11 -0700 |
commit | 861429160ca74b1530ffa961b60b2b4fdb75eec2 (patch) | |
tree | b18e30c8b278431d2ca2373e1ae5ba0f97961b4b /clang/lib/Basic/SourceManager.cpp | |
parent | 3580a45014e90a9895cc2dec28ab2e7f78c47470 (diff) | |
download | llvm-861429160ca74b1530ffa961b60b2b4fdb75eec2.zip llvm-861429160ca74b1530ffa961b60b2b4fdb75eec2.tar.gz llvm-861429160ca74b1530ffa961b60b2b4fdb75eec2.tar.bz2 |
[llvm-objcopy][MachO] Fix the calculation of the output size
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 revision: https://reviews.llvm.org/D89661
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions