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

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 25 05:56:36 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

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

https://reviews.llvm.org/D23868

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/OutputSections.cpp
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23868.69228.patch
Type: text/x-patch
Size: 3556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160825/65bcc9bb/attachment.bin>


More information about the llvm-commits mailing list