MachO: don't emit L... private symbols in do_not_dead_strip sections.
authorTim Northover <t.p.northover@gmail.com>
Thu, 15 Jul 2021 13:21:42 +0000 (14:21 +0100)
committerTim Northover <t.p.northover@gmail.com>
Thu, 15 Jul 2021 13:40:43 +0000 (14:40 +0100)
commit5d7632ee72c51b518bde17e385b71c5d3f0d2560
treefda9f1f50d72bab83027a8fcca0676529d338266
parent034b94bb7161c64234e4ec35bf49428c3a1f8f0a
MachO: don't emit L... private symbols in do_not_dead_strip sections.

The linker can sometimes drop the do_not_dead_strip if it can't associate the
atom with a symbol (the other place to specify no dead-stripping in MachO
files).
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/osx-private-labels.ll