Allow L symbols in no_dead_strip sections.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Nov 2014 02:42:03 +0000 (02:42 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Nov 2014 02:42:03 +0000 (02:42 +0000)
commite1f22e397d320bb11ed9d5ed193af3cd1e84df81
treea7aad03bf6a95d6c903de04b91ba55dbaeea0380
parentd465eced34ef00f8babc90f6c8b58af59b20d508
Allow L symbols in no_dead_strip sections.

If a section cannot be dead stripped, it is safe to use L symbols, since
the linker will keep all of it in the end.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/X86/osx-private-labels.ll