[all-commits] [llvm/llvm-project] 7fe97f: [BOLT] Always run CheckLargeFunctions in non-reloc...
Maksim Panchenko via All-commits
all-commits at lists.llvm.org
Thu Feb 8 14:22:01 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7fe97f042036407a124bf1646a3f1124ddac3de5
https://github.com/llvm/llvm-project/commit/7fe97f042036407a124bf1646a3f1124ddac3de5
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-02-08 (Thu, 08 Feb 2024)
Changed paths:
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT] Always run CheckLargeFunctions in non-relocation mode (#80922)
We run CheckLargeFunctions pass in non-relocation mode to prevent the
emission of functions that later could not be written to the output due
to their large size. The main reason behind the pass is to prevent the
emission of metadata for such functions since this metadata becomes
incorrect if the function is left unmodified.
Currently, the pass is enabled in non-relocation mode only when debug
info output is also enabled. As we emit increasingly more kinds of
metadata, e.g. for the Linux kernel, it becomes more challenging to
track metadata that needs to be fixed. Hence, I'm enabling the pass to
always run in non-relocation mode.
More information about the All-commits
mailing list