aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorVladislav Khmelevsky <och95@yandex.ru>2022-06-07 18:40:04 +0300
committerVladislav Khmelevsky <och95@yandex.ru>2022-06-08 14:13:12 +0300
commitfd9604952d80d62bc3db57fff07c047bb6773903 (patch)
treefaba2e06ee384ed57a97963615d153dfaf1375ac /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta0fc94ab618973dc4454d0695abb104f6a8644d2 (diff)
downloadllvm-fd9604952d80d62bc3db57fff07c047bb6773903.zip
llvm-fd9604952d80d62bc3db57fff07c047bb6773903.tar.gz
llvm-fd9604952d80d62bc3db57fff07c047bb6773903.tar.bz2
[BOLT] Set valid index for functions with profiles
Some of the passes that calculates tentative layout like LongJmp and Golang are expecting that only functions with valid index will be located in hot text section. But currently functions with valid profiles and not set index are breaking this logic, to fix this we can move the hasValidProfile() condition from AssignSections pass to ReorderFunctions. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Differential Revision: https://reviews.llvm.org/D127223
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions