[PATCH] D36519: [ELF] - Add a test for --gc-sections --undefined=foo combination.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 07:08:19 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D36519#836623, @ruiu wrote:

> It looks like this patch contains only a test. Where is the patch to fix the issue?


There is no issue. We just missing the test.

I tried to remove following lines:

  for (StringRef S : Config->Undefined)
    MarkSymbol(Symtab->find(S));

from elf::markLive() and all our tests passed. 
So desided to add this testcase.


https://reviews.llvm.org/D36519





More information about the llvm-commits mailing list