[all-commits] [llvm/llvm-project] 1fb186: adds huge pages support of PIE/no-PIE binaries

Alexey Moksyakov via All-commits all-commits at lists.llvm.org
Fri Nov 4 05:41:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fb186198af5f183dde053c1396f899567755d64
      https://github.com/llvm/llvm-project/commit/1fb186198af5f183dde053c1396f899567755d64
  Author: Alexey Moksyakov <alexey.moksyakov at huawei.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

  Changed paths:
    A bolt/include/bolt/Passes/Hugify.h
    M bolt/include/bolt/RuntimeLibs/HugifyRuntimeLibrary.h
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Passes/CMakeLists.txt
    A bolt/lib/Passes/Hugify.cpp
    M bolt/lib/Rewrite/BinaryPassManager.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/lib/RuntimeLibs/HugifyRuntimeLibrary.cpp
    M bolt/runtime/CMakeLists.txt
    M bolt/runtime/common.h
    M bolt/runtime/hugify.cpp
    A bolt/test/runtime/X86/hugify.c

  Log Message:
  -----------
  adds huge pages support of PIE/no-PIE binaries

This patch adds the huge pages support (-hugify) for PIE/no-PIE
binaries. Also returned functionality to support the kernels < 5.10
where there is a problem in a dynamic loader with the alignment of
pages addresses.

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




More information about the All-commits mailing list