https://github.com/pcc created https://github.com/llvm/llvm-project/pull/138794

llvm-jitlink has a bug revealed by my followup change where the
RuntimeDyldChecker::MemoryRegionInfo::TargetAddress field was
incorrectly being set to the address of the first symbol in the
section instead of the address of the section, which caused the
ExecutionEngine/JITLink/x86-64/ELF_small_pic_relocations.s test to
fail, so fix that for ELF. It looks like the same bug could exist for
the other object formats (but maybe not for Mach-O because of the atom
model?) but I'm not familiar with the JIT linker so I left them as is.

This change will be tested implicitly when my followup change lands.



_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
  • [llvm-branch-commits] llvm-jit... Peter Collingbourne via llvm-branch-commits

Reply via email to