[all-commits] [llvm/llvm-project] 1dae4d: [JITLink][PowerPC] Fix incorrect assertion of adde...

Kai Luo via All-commits all-commits at lists.llvm.org
Wed Sep 13 19:40:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dae4dd0d80fd453d60564b60a70f1b3814ef5a5
      https://github.com/llvm/llvm-project/commit/1dae4dd0d80fd453d60564b60a70f1b3814ef5a5
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/ppc64.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp
    M llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-rel24-non-zero-addend.test

  Log Message:
  -----------
  [JITLink][PowerPC] Fix incorrect assertion of addend for R_PPC64_REL24

There is case that R_PPC64_REL24 with non-zero addend. The assertion is incorrectly triggered in such situation.

Reviewed By: lhames

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




More information about the All-commits mailing list