[PATCH] D129107: [BOLT][HUGIFY] adds huge pages support of PIE/no-PIE binaries
Rafael Auler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 18:47:23 PDT 2022
rafauler added inline comments.
================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:3690-3691
+ // Hugify: Additional huge page from right side
+ if (opts::HugifyExtraPadding)
+ Address = alignTo(Address, Section->getAlignment());
}
----------------
Another thing is that we should right pad here just for hot section, not for every code section
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129107/new/
https://reviews.llvm.org/D129107
More information about the llvm-commits
mailing list