summaryrefslogtreecommitdiff
path: root/bolt/lib/Passes/Hugify.cpp
AgeCommit message (Collapse)Author
2024-03-31[BOLT][NFC] Clean includes, add license headers (#87200)Amir Ayupov
2024-02-12[BOLT][NFC] Return Error from BinaryFunctionPass::runOnFunctions (#81521)Amir Ayupov
As part of the effort to refactor old error handling code that would directly call exit(1), in this patch we change the interface to `BinaryFunctionPass` to return an Error on `runOnFunctions()`. This gives passes the ability to report a serious problem to the caller (RewriteInstance class), so the caller may decide how to best handle the exceptional situation. Co-authored-by: Rafael Auler <rafaelauler@fb.com> Test Plan: NFC
2022-12-16Ensure newlines at the end of files (NFC)Kazu Hirata
2022-11-04adds huge pages support of PIE/no-PIE binariesAlexey Moksyakov
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