[ELF] Linkerscript: support hidden symbols assignments
authorPetr Hosek <phosek@chromium.org>
Tue, 16 Aug 2016 01:11:16 +0000 (01:11 +0000)
committerPetr Hosek <phosek@chromium.org>
Tue, 16 Aug 2016 01:11:16 +0000 (01:11 +0000)
commita35e39ca2e0f91d49a2d81b6767472c8bf648f50
tree7a7ae5cdd72c03f5861e6fe2e8b910ad4e624aed
parent1185b4ae8d6d9259d315599d7617ea4544d1b47a
[ELF] Linkerscript: support hidden symbols assignments

This add support for HIDDEN command which can be used to define
a symbol that will be hidden and won't be exported.

Differential Revision: https://reviews.llvm.org/D23534

llvm-svn: 278770
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/linkerscript-symbols.s