[PATCH] D109945: [lld-macho] Simplify the handling of "no unwind info" functions
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 16 20:36:26 PDT 2021
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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 <https://reviews.llvm.org/D109944>).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109945
Files:
lld/MachO/UnwindInfoSection.cpp
lld/MachO/UnwindInfoSection.h
lld/MachO/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109945.373131.patch
Type: text/x-patch
Size: 10949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210917/4889bd08/attachment.bin>
More information about the llvm-commits
mailing list