HomePhabricator

[lld-macho] Simplify the handling of "no unwind info" functions

Authored by int3 on Oct 26 2021, 1:04 PM.

Description

[lld-macho] Simplify the handling of "no unwind info" functions

This diff does away with addEntriesForFunctionsWithoutUnwindInfo(),
because addSymbol() can now determine which functions need those
entries.

While overhauling UnwindInfoSection, I also parallelized the relocation
of the contents of the CUEs. This somewhat offsets the time regression
from creating one InputSection per CUE (which was done in D109944).

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D109945

Details

Committed
int3Oct 26 2021, 1:04 PM
Reviewer
Restricted Project
Differential Revision
D109945: [lld-macho] Simplify the handling of "no unwind info" functions
Parents
rG002eda7056af: [lld-macho] Associate compact unwind entries with function symbols
Branches
Unknown
Tags
Unknown