diff options
author | Kshitij Jain <jkshtj@outlook.com> | 2023-01-14 01:31:43 +0000 |
---|---|---|
committer | Kshitij Jain <jkshtj@outlook.com> | 2023-01-14 05:01:49 +0000 |
commit | a3e975d42efa2ec1349c1a3ce203d78bbd7ee10d (patch) | |
tree | 07dfb69cb75fd591ff3c7f5c9d43a3a0cd337ab0 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 347028a4d8da8aa1ae311c95424999fcd31d98cb (diff) | |
download | llvm-a3e975d42efa2ec1349c1a3ce203d78bbd7ee10d.zip llvm-a3e975d42efa2ec1349c1a3ce203d78bbd7ee10d.tar.gz llvm-a3e975d42efa2ec1349c1a3ce203d78bbd7ee10d.tar.bz2 |
Fixes handling logic for i386/ELF GOTPC relocation
The i386/ELF JITLink backend was not correctly handling the GOTPC relocation
by skipping the in-built addend, which was manifesting itself in the form of
a segmentation fault in the `LF_external_to_absolute_conversion.s` test. This
CR has fixed that issue.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D141746
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions