diff options
author | diggerlin <digger.llvm@gmail.com> | 2019-12-10 11:14:49 -0500 |
---|---|---|
committer | diggerlin <digger.llvm@gmail.com> | 2019-12-10 11:14:49 -0500 |
commit | 98f5f022f0cb5ac6605385966ced38e1e2851f6b (patch) | |
tree | 7c8047c20651e7ed258bce9b7f1aecdfc9fa8361 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | d77ae1552fc21a9f3877f3ed7e13d631f517c825 (diff) | |
download | bcm5719-llvm-98f5f022f0cb5ac6605385966ced38e1e2851f6b.tar.gz bcm5719-llvm-98f5f022f0cb5ac6605385966ced38e1e2851f6b.zip |
[BUG-FIX][XCOFF] fixed a bug of XCOFFObjectFile.cpp when there is padding at the last csect of a sections
SUMMARY:
Fixed a bug of XCOFFObjectFile.cpp when there is padding at the last csect of a sections.
when there is a tail padding of a section, but the value of CurrentAddressLocation do not be increased by the padding size. it will hit assert assert(CurrentAddressLocation == Section->Address && "We should have no padding between sections.");
Reviewers: daltenty,hubert.reinterpretcast,
Differential Revision: https://reviews.llvm.org/D70859
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions