[ELF] - Teach LLD to strip .zdebug_* sections when --strip-debug/--strip-all is speci...
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 3 Nov 2017 08:13:16 +0000 (08:13 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 3 Nov 2017 08:13:16 +0000 (08:13 +0000)
commitcbed0e615b3658add66600d89e1d47c80a99a22d
tree48b745e3a9ed876e601a5a9f423d7e6c9644e8e4
parent5b262363b46d9dab718e3b5074fb21c90123e1ec
[ELF] - Teach LLD to strip .zdebug_* sections when --strip-debug/--strip-all is specified.

Currently we do not strip .zdebug_*, what looks wrong.
Also this simplifies the testcase we have for this options.

Differential revision: https://reviews.llvm.org/D39552

llvm-svn: 317306
lld/ELF/InputFiles.cpp
lld/test/ELF/strip-debug.s