[llvm] [BOLT] Add split function support for the Linux kernel (PR #90541)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 10:49:28 PDT 2024
================
@@ -715,6 +715,12 @@ Error SplitFunctions::runOnFunctions(BinaryContext &BC) {
if (!opts::SplitFunctions)
return Error::success();
+ if (BC.IsLinuxKernel && BC.BOLTReserved.empty()) {
+ BC.errs() << "BOLT-ERROR: split functions require reserved space in the "
----------------
maksfb wrote:
Totally. Patches are welcome :)
https://github.com/llvm/llvm-project/pull/90541
More information about the llvm-commits
mailing list