[all-commits] [llvm/llvm-project] 116e80: [BOLT] Adjust section sizes based on file offsets ...

Maksim Panchenko via All-commits all-commits at lists.llvm.org
Thu Feb 1 12:08:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 116e801a15569386c452085de783ecb9223050ff
      https://github.com/llvm/llvm-project/commit/116e801a15569386c452085de783ecb9223050ff
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp
    A bolt/test/X86/phdr-out-of-order.test

  Log Message:
  -----------
  [BOLT] Adjust section sizes based on file offsets (#80226)

When we adjust section sizes while rewriting a binary, we should be
using section offsets and not addresses to determine if section overlap.
NFC for existing binaries.




More information about the All-commits mailing list