forked from OSchip/llvm-project
fd9604952d
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 |
||
---|---|---|
.. | ||
Core | ||
Passes | ||
Profile | ||
Rewrite | ||
RuntimeLibs | ||
Target | ||
Utils | ||
CMakeLists.txt |