[all-commits] [llvm/llvm-project] 62a289: [BOLT] LongJmp: Fix hot text section alignment

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Wed Mar 16 05:58:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a289d85c9fc8d7c0141e63477474c03a17e1b4
      https://github.com/llvm/llvm-project/commit/62a289d85c9fc8d7c0141e63477474c03a17e1b4
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

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

  Log Message:
  -----------
  [BOLT] LongJmp: Fix hot text section alignment

The BinaryEmitter uses opts::AlignText value to align the hot text
section. Also check that the opts::AlignText is at least
equal opts::AlignFunctions for the same reason, as described in D121392.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

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




More information about the All-commits mailing list