[all-commits] [llvm/llvm-project] 03ed35: Updates and adds tests for i386/ELF JITLink backend

Kshitij Jain via All-commits all-commits at lists.llvm.org
Sat Dec 24 18:06:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03ed35b111a703b600fd5619552a93992afdf81b
      https://github.com/llvm/llvm-project/commit/03ed35b111a703b600fd5619552a93992afdf81b
  Author: Kshitij Jain <jkshtj at outlook.com>
  Date:   2022-12-25 (Sun, 25 Dec 2022)

  Changed paths:
    A llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_absolute_relocations_16.s
    M llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_absolute_relocations_32.s
    M llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_pc_relative_relocations_32.s

  Log Message:
  -----------
  Updates and adds tests for i386/ELF JITLink backend

This CR modifies the existing 32 bit pcrel relocation test to
include the case when the relocation target might be present at
a smaller address than the address of the location that needs to be
patched.

Additionally, it adds a test for 16 bit absolute relocation.

Reviewed By: sunho

Differential Revision: https://reviews.llvm.org/D138372


  Commit: 1b123d9fb5aaa0757b12441ae78f27ec4a25747e
      https://github.com/llvm/llvm-project/commit/1b123d9fb5aaa0757b12441ae78f27ec4a25747e
  Author: Kshitij Jain <jkshtj at outlook.com>
  Date:   2022-12-25 (Sun, 25 Dec 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/i386.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
    M llvm/lib/ExecutionEngine/JITLink/i386.cpp
    A llvm/test/ExecutionEngine/JITLink/i386/ELF_external_to_absolute_conversion.s
    A llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_small_pic_relocations.s

  Log Message:
  -----------
  Adds support for GOT relocations to i386/ELF backend

This CR adds support for GOT relocations to the JITLink i386/ELF backend.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D140279


Compare: https://github.com/llvm/llvm-project/compare/066b492b747a...1b123d9fb5aa


More information about the All-commits mailing list