HomePhabricator

[ELF] - Introduce DiscardPolicy instead of 3 relative bool fields.

Description

[ELF] - Introduce DiscardPolicy instead of 3 relative bool fields.

DiscardPolicy is enum replacing several boolean options.
This approach is not only consistent with what we use for
unresolveds (UnresolvedPolicy), but also should help to solve a problem
of options with opposing meanings, mentioned in PR28843

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

Details

Committed
grimarAug 31 2016, 1:46 AM
Differential Revision
D23868: [ELF] - Introduce DiscardPolicy instead of 3 relative bool fields.
Branches
Unknown
Tags
Unknown