[PATCH] D102619: [lld/mac] Set REFERENCED_DYAMICALLY on __mh_execute_header
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 06:20:46 PDT 2021
thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added a reviewer: int3.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
thakis requested review of this revision.
Has the effect that `__mh_execute_header` stays in the symbol table of
outputs even after running `strip` on the output. I don't know if that's
important for anything -- my motivation for the patch is just is to make
the output more similar to ld64.
(Corresponds to symbolTableInAndNeverStrip in ld64.)
https://reviews.llvm.org/D102619
Files:
lld/MachO/InputFiles.cpp
lld/MachO/Symbols.h
lld/MachO/SyntheticSections.cpp
lld/test/MachO/stabs.s
lld/test/MachO/symtab.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102619.345854.patch
Type: text/x-patch
Size: 5566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/f87f1420/attachment.bin>
More information about the llvm-commits
mailing list