[all-commits] [llvm/llvm-project] 7aae89: [ELF] .llvm.call-graph-profile: support CREL

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 10 03:15:56 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 7aae895c245a00a6bb97d05c966765de825a54d1
      https://github.com/llvm/llvm-project/commit/7aae895c245a00a6bb97d05c966765de825a54d1
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/cgprofile-rela.test

  Log Message:
  -----------
  [ELF] .llvm.call-graph-profile: support CREL

https://reviews.llvm.org/D105217 added RELA support. This patch adds
CREL support.

(cherry picked from commit 0766a59be3256e83a454a089f01215d6c7f94a48)


  Commit: 39746ee0048e1f4891d2e2b58e7c7583df43c3bc
      https://github.com/llvm/llvm-project/commit/39746ee0048e1f4891d2e2b58e7c7583df43c3bc
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M lld/ELF/Relocations.cpp
    M lld/test/ELF/crel.s

  Log Message:
  -----------
  [ELF] scanRelocations: support .crel.eh_frame

Follow-up to #98115. For EhInputSection, RelocationScanner::scan calls
sortRels, which doesn't support the CREL iterator. We should set
supportsCrel to false to ensure that the initial_location fields in
.eh_frame FDEs are relocated.

(cherry picked from commit a821fee312d15941174827a70cb534c2f2fe1177)


Compare: https://github.com/llvm/llvm-project/compare/32e20009d194...39746ee0048e

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list