[ELF] - Introduce StripPolicy instead of Config->StripAll/StripDebug flags.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Aug 2016 08:38:11 +0000 (08:38 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 31 Aug 2016 08:38:11 +0000 (08:38 +0000)
commitf21aade0d8d96417b4a7e25c7ddc300b0ea6d718
tree2ca62a0058b26722cc70d19f53e604e2a909e695
parent20889c51b7633419ed2162b247acb9f6ce532b07
[ELF] - Introduce StripPolicy instead of Config->StripAll/StripDebug flags.

This approach is not only consistent with UnresolvedPolicy,
but also should help to solve a problem
of options with opposing meanings, mentioned in PR28843

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

llvm-svn: 280206
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/Writer.cpp