diff options
author | Eymen Ünay <eymenunay@outlook.com> | 2024-06-29 18:27:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 18:27:06 +0300 |
commit | cd0f89109bf90442cab8cfeaf5fce17cbddeef73 (patch) | |
tree | 79ef2b48b0231aaa678d033740b9f11a63ab27d9 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 0ce801f91cd79bd2f94469bdf4c48e82f2721ec1 (diff) | |
download | llvm-cd0f89109bf90442cab8cfeaf5fce17cbddeef73.zip llvm-cd0f89109bf90442cab8cfeaf5fce17cbddeef73.tar.gz llvm-cd0f89109bf90442cab8cfeaf5fce17cbddeef73.tar.bz2 |
[JITLink][AArch32] Fix Unaligned Data Symbol Address Resolution (#97030)
The ARM architecture uses the LSB bit for ARM/Thumb mode switch
flagging. This is true for alignments of 2 and 4 but in data
relocations the alignment is 1 allowing the LSB bit to be set.
Now only `ELF::STT_FUNC` typed symbols are used in the
TargetFlag mechanism.
The test is a minimal example of the issue mentioned below.
Fixes #95911 "Orc global constructor order test fails on 32
bit ARM".
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions