diff options
author | Fangrui Song <maskray@google.com> | 2019-04-24 14:03:30 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-24 14:03:30 +0000 |
commit | 513d3658e708e38d2d4612fe59c7a3c3f64e8a5d (patch) | |
tree | fa4b1ed5024242524e9c4b647fdb0861f5c473f1 /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py | |
parent | 50392a3b1b84beea67bb294f6855d5fb1facd35e (diff) | |
download | bcm5719-llvm-513d3658e708e38d2d4612fe59c7a3c3f64e8a5d.tar.gz bcm5719-llvm-513d3658e708e38d2d4612fe59c7a3c3f64e8a5d.zip |
[PPC64] Consider localentry offset when computing branch distance
Summary:
We don't take localentry offset into account, and thus may fail to
create a long branch when the gap is just a few bytes smaller than 2^25.
relocation R_PPC64_REL24 out of range: 33554432 is not in [-33554432, 33554431]
relocation R_PPC64_REL24 out of range: 33554436 is not in [-33554432, 33554431]
Fix that by adding the offset to the symbol VA.
Differential Revision: https://reviews.llvm.org/D61058
llvm-svn: 359094
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py')
0 files changed, 0 insertions, 0 deletions