[PATCH] D38996: [ELF] - Simplify how GC works with MergeInputSection.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 04:23:13 PDT 2017


grimar created this revision.
Herald added a subscriber: emaste.

This change do a cleanup of handling MergeInputSection when doing GC.
Previously additional checks leaked to MarkLive.cpp, patch eliminates this leaks.

Should be useful for https://reviews.llvm.org/D38724.


https://reviews.llvm.org/D38996

Files:
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/MarkLive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38996.119285.patch
Type: text/x-patch
Size: 4121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171017/d20cf7e8/attachment.bin>


More information about the llvm-commits mailing list