[all-commits] [llvm/llvm-project] 696b8e: [BOLT] Testcase to repro dyn reloc bug

Rafael Auler via All-commits all-commits at lists.llvm.org
Fri Oct 7 11:28:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 696b8ea05fb18309bf3a68ae1d7e9d1659561ed8
      https://github.com/llvm/llvm-project/commit/696b8ea05fb18309bf3a68ae1d7e9d1659561ed8
  Author: Rafael Auler <rafaelauler at fb.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    A bolt/test/X86/Inputs/define_bar.s
    A bolt/test/X86/dynrelocs.s

  Log Message:
  -----------
  [BOLT] Testcase to repro dyn reloc bug

Add a new testcase that shows a bug in BOLT when writing out
dynamic relocations. This is currently marked as XFAIL as we work on
solving it. This bug happens when the current strategy fails to
recognize that the original dynamic relocation in the input should
reference the original .bolt.org.rodata section instead of the new one
.rodata created by BOLT after moving jump tables. This bug started
happening after 729d29e167a5.

Reviewed By: Amir

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




More information about the All-commits mailing list