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

[BOLT] Update section index for symbols from unemitted functions

Summary:
Under some conditions, e.g. while running in lite mode or when a
function is non-simple, BOLT may decide not to emit function code and
hence there's no need to update the symbol. However, since we change
section table, the corresponding section index may need an update.

Also, update section index for ICF symbols.

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