[PATCH] D105975: MachO: don't emit L... private symbols in do_not_dead_strip sections.
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 10:39:55 PDT 2021
steven_wu added a comment.
I think the reason for linker to drop that is macho linker do not care about no_dead_strip sections and it only looks at the no_dead_strip attribute on the atom. Once it turned into private label, the no_dead_strip attribute can be gone on the atom. Even `ld -r` preserves attribute on the section, it might not work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105975/new/
https://reviews.llvm.org/D105975
More information about the llvm-commits
mailing list