[PATCH] D158708: [JITLink][PowerPC] Fix incorrect assertion of addend for R_PPC64_REL24

Alex Lorenz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 09:00:44 PDT 2023


arphaman added a comment.

@lkail the test you precommited (https://reviews.llvm.org/rG4468103bf68ce09820d0e31fa7c725004b5f2ca4) for this change is failing on Darwin -

https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/37181/

  # CHECK: Assertion `Addend == 0 && "Addend is expected to be 0 for a function call"' failed
           ^
  <stdin>:1:1: note: scanning from here
  Assertion failed: (Addend == 0 && "Addend is expected to be 0 for a function call"), function addSingleRelocation, file /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm-project/llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp, line 349.
  ^
  
  Input file: <stdin>
  Check file: /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm-project/llvm/test/ExecutionEngine/JITLink/ppc64/ppc64-rel24-non-zero-addend.test
  
  -dump-input=help explains the following input dump.
  
  Input was:
  <<<<<<
           1: Assertion failed: (Addend == 0 && "Addend is expected to be 0 for a function call"), function addSingleRelocation, file /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm-project/llvm/lib/ExecutionEngine/JITLink/ELF_ppc64.cpp, line 349. 
  check:4     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found

I will revert the precommitted test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158708/new/

https://reviews.llvm.org/D158708



More information about the llvm-commits mailing list