[PATCH] D129107: [BOLT][HUGIFY] adds huge pages support of PIE/no-PIE binaries

Alexey Moksyakov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 00:57:25 PDT 2022


yavtuk created this revision.
yavtuk added reviewers: Amir, rafaelauler.
Herald added subscribers: ayermolo, mgorny.
Herald added a reviewer: rafauler.
Herald added a reviewer: maksfb.
Herald added a project: All.
yavtuk requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129107

Files:
  bolt/include/bolt/Passes/Hugify.h
  bolt/include/bolt/Utils/CommandLineOpts.h
  bolt/lib/Passes/CMakeLists.txt
  bolt/lib/Passes/Hugify.cpp
  bolt/lib/Rewrite/BinaryPassManager.cpp
  bolt/lib/RuntimeLibs/HugifyRuntimeLibrary.cpp
  bolt/runtime/CMakeLists.txt
  bolt/runtime/common.h
  bolt/runtime/hugify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129107.442193.patch
Type: text/x-patch
Size: 17063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220705/088a94d9/attachment.bin>


More information about the llvm-commits mailing list