aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2024-02-08 14:21:49 -0800
committerGitHub <noreply@github.com>2024-02-08 14:21:49 -0800
commit7fe97f042036407a124bf1646a3f1124ddac3de5 (patch)
tree0013e44630d9f4bcca27816356453f15916396af /llvm/lib/Object/WasmObjectFile.cpp
parenta6f42adf9ba03d69e8bf2eaf5af2e7f8f6294b37 (diff)
downloadllvm-7fe97f042036407a124bf1646a3f1124ddac3de5.zip
llvm-7fe97f042036407a124bf1646a3f1124ddac3de5.tar.gz
llvm-7fe97f042036407a124bf1646a3f1124ddac3de5.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions