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

Valentin Churavy via All-commits all-commits at lists.llvm.org
Tue Dec 8 13:26:01 PST 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 79cac55bf044bd8502f54076816a942388e3eae0
      https://github.com/llvm/llvm-project/commit/79cac55bf044bd8502f54076816a942388e3eae0
  Author: Valentin Churavy <v.churavy at gmail.com>
  Date:   2020-12-08 (Tue, 08 Dec 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

(cherry picked from commit 18805ea951be02fcab6e7b11c3c7d929bcf1441a)




More information about the All-commits mailing list