[PATCH] D17252: [ELF, Bug 26360] - allows undefines that are referenced from garbage collected sections.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 14 22:48:41 PST 2016


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

This fixes the https://llvm.org/bugs/show_bug.cgi?id=26360.

If code is unreferenced and is about to be pruned away by --gc-sections, it is allowed to contain references to undefined symbols. 

http://reviews.llvm.org/D17252

Files:
  ELF/Symbols.cpp
  ELF/Symbols.h
  ELF/Writer.cpp
  test/ELF/gc-sections-unref-undef.s
  test/ELF/gc-sections-unref-undef2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17252.47947.patch
Type: text/x-patch
Size: 4789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160215/255ad8b9/attachment.bin>


More information about the llvm-commits mailing list