[all-commits] [llvm/llvm-project] 18805e: Fix unwind info relocation with large code model o...

Valentin Churavy via All-commits all-commits at lists.llvm.org
Fri Nov 6 11:44:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 18805ea951be02fcab6e7b11c3c7d929bcf1441a
      https://github.com/llvm/llvm-project/commit/18805ea951be02fcab6e7b11c3c7d929bcf1441a
  Author: Valentin Churavy <v.churavy at gmail.com>
  Date:   2020-11-06 (Fri, 06 Nov 2020)

  Changed paths:
    M llvm/lib/MC/MCObjectFileInfo.cpp
    A llvm/test/MC/AArch64/ELF_ARM64_large-relocations.s

  Log Message:
  -----------
  Fix unwind info relocation with large code model on AArch64

Makes sure that the unwind info uses 64bits pcrel relocation if a large code model is specified and handle the corresponding relocation in the ExecutionEngine. This can happen with certain kernel configuration (the same as the one in https://reviews.llvm.org/D27609, found at least on the ArchLinux stock kernel and the one used on https://www.packet.net/) using the builtin JIT memory manager.

Co-authored-by: Yichao Yu <yyc1992 at gmail.com>

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




More information about the All-commits mailing list