We should never dead strip mach header symbols.
authorPete Cooper <peter_cooper@apple.com>
Tue, 9 Feb 2016 01:34:13 +0000 (01:34 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 9 Feb 2016 01:34:13 +0000 (01:34 +0000)
commit841a978d229376804ab785a22c9b418f98900eed
tree78047c8698042337c9515e7f581325b7f819b7fa
parentcea565593f19475610a92e28748b0d6252d31765
We should never dead strip mach header symbols.

This was a bug in our handling of these symbols compared to ld64.

Turns out that ld64 always marks these symbols as being not dead stripped.

llvm-svn: 260185
lld/lib/ReaderWriter/MachO/ExecutableAtoms.h
lld/test/mach-o/mh_bundle_header.yaml