Skip to content
Commit 2ab74723 authored by Maksim Panchenko's avatar Maksim Panchenko
Browse files

[BOLT] Account for FDE functions when calculating max function size

Summary:
When we calculate maximum function size we only used to rely on the
symbol table information, and ignore function info coming from FDEs.
Invalid maximum function size can lead to code emission over
the code of neighbouring function.

Fix this by considering FDE functions when determining the maximum
function size.

(cherry picked from FBD6025613)
parent 1e1833c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment