summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-02-07 17:51:35 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-02-07 17:51:35 +0000
commitc6cf1f1f02c58d15b8fe8ce9c27d9ac6b080500b (patch)
tree287d0e06b3cceae652f37d216bafbe87e5dda2dc /llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
parent5ea971ced513761fce18f16d56f75a88e2d6a92d (diff)
downloadbcm5719-llvm-c6cf1f1f02c58d15b8fe8ce9c27d9ac6b080500b.tar.gz
bcm5719-llvm-c6cf1f1f02c58d15b8fe8ce9c27d9ac6b080500b.zip
[ELF] - Assign proper values for DefinedSynthetic symbols attached to non-allocatable sections.
DefinedSynthetic symbols are attached to sections, for the case when such symbol was attached to non-allocated section, we calculated its value incorrectly. We subtracted Body->Section->Addr, but non-allocatable sections should have zero VA in output and therefore result value was wrong. And at the same time we have Body->Section->Addr != 0 for them internally because use it for calculation of section size. Patch fixes calculation of such symbols values. Differential revision: https://reviews.llvm.org/D29653 llvm-svn: 294322
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud