[all-commits] [llvm/llvm-project] 430829: [BOLT] Refactor NewTextSegmentAddress handling (#1...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Thu Jun 26 12:09:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4308292d1e3feb94d3f9e70817117e609103d37e
      https://github.com/llvm/llvm-project/commit/4308292d1e3feb94d3f9e70817117e609103d37e
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Refactor NewTextSegmentAddress handling (#145950)

Refactor the code for NewTextSegmentAddress to correctly point at the
true start of the segment when PHDR table is placed at the beginning. We
used to offset NewTextSegmentAddress by PHDR table plus cache line
alignment.

NFC for proper binaries. Some YAML binaries from our tests will diverge
due to bad segment address/offset alignment.



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