diff options
author | Fangrui Song <i@maskray.me> | 2025-07-26 21:19:48 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-07-26 21:19:48 -0700 |
commit | 69d0078f16c0b4a11f171c4eb16a2ee9284f5f24 (patch) | |
tree | cb9b532970b168b790951e144c76f206f759a92c /llvm/unittests/Support/CheckedArithmeticTest.cpp | |
parent | 59fdd97fe6d4e84d653cd005cddb50c1f2eedcb7 (diff) | |
download | llvm-69d0078f16c0b4a11f171c4eb16a2ee9284f5f24.zip llvm-69d0078f16c0b4a11f171c4eb16a2ee9284f5f24.tar.gz llvm-69d0078f16c0b4a11f171c4eb16a2ee9284f5f24.tar.bz2 |
MC: Generate relocation for a branch crossing linker-relaxable FT_Align fragment
"Encode FT_Align in fragment's variable-size tail" or a neighbor change
caused a regression that was similar to the root cause of
ab0931b6389838cb5d7d11914063a1ddd84102f0
(See the new test (.text3 with a call at the start"))
For a FT_Align fragment, the offset between location A (with offset <=
FixedSize) and B (offset == FixedSize+VarSize) cannot be resolved.
In addition, delete unneeded condition `F->isLinkerRelaxable()`.
LoongArch linker relaxation is largely under-tested, but update it as well.
Diffstat (limited to 'llvm/unittests/Support/CheckedArithmeticTest.cpp')
0 files changed, 0 insertions, 0 deletions