[all-commits] [llvm/llvm-project] 2a3b25: [JITLink][i386] Adds absolute and pc relative relo...

Kshitij Jain via All-commits all-commits at lists.llvm.org
Sun Oct 30 17:35:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a3b257a935aa49886ccd073695e75b385b3822f
      https://github.com/llvm/llvm-project/commit/2a3b257a935aa49886ccd073695e75b385b3822f
  Author: Kshitij Jain <jkshtj at outlook.com>
  Date:   2022-10-30 (Sun, 30 Oct 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/i386.h
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
    M llvm/lib/ExecutionEngine/JITLink/i386.cpp
    A llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_absolute_relocations_32.s
    A llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_pc_relative_relocations_32.s
    M llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg

  Log Message:
  -----------
  [JITLink][i386] Adds absolute and pc relative relocation support for ELF/i386.

This commit adds support for 32 bit absolute and pc relative relocations in
ELF/i386 objects, along with simple regression tests.

Reviewed By: sgraenitz, lhames

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




More information about the All-commits mailing list