[all-commits] [llvm/llvm-project] c5d389: [XRay] xray_fn_idx: set SHF_WRITE to avoid text re...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Apr 21 12:02:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c5d38924dc6688c15b3fa133abeb3626e8f0767c
      https://github.com/llvm/llvm-project/commit/c5d38924dc6688c15b3fa133abeb3626e8f0767c
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/DebugInfo/X86/xray-split-dwarf-interaction.ll

  Log Message:
  -----------
  [XRay] xray_fn_idx: set SHF_WRITE to avoid text relocations

In a future change we should properly fix xray_fn_idx to use PC-relative
addresses as well, but for now let's keep absolute addresses until sled
addresses are all fixed.




More information about the All-commits mailing list