[all-commits] [llvm/llvm-project] 508146: [xray] Avoid text relocations in trampolines for A...

Ian Levesque via All-commits all-commits at lists.llvm.org
Tue Apr 21 20:21:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5081468a669236fded73b2ca9fad2a8b8e6b7bf9
      https://github.com/llvm/llvm-project/commit/5081468a669236fded73b2ca9fad2a8b8e6b7bf9
  Author: Ian Levesque <ianlevesque at fb.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M compiler-rt/lib/xray/xray_trampoline_AArch64.S
    M compiler-rt/lib/xray/xray_trampoline_arm.S

  Log Message:
  -----------
  [xray] Avoid text relocations in trampolines for ARM/AArch64

Summary: Switch to pc-relative lookup of the xray handler function to avoid text relocations.

Reviewers: MaskRay, dberris, johnislarry

Subscribers: kristof.beyls, danielkiss, #sanitizers

Tags: #sanitizers

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




More information about the All-commits mailing list