freebsd-dev/contrib/llvm
Ed Maste 0a7e7475c3 lld: [ELF] Remove unused synthetic sections from script commands
Script commands are processed before unused synthetic sections are
removed. Therefore, if a linker script matches one of these sections
it'll get emitted as an empty output section because the logic for
removing unused synthetic sections ignores script commands which
could have already matched and captured one of these sections. This
patch fixes that by also removing the unused synthetic sections from
the script commands.

Discussed with:	dim
Obtained from:	LLVM r307037
Sponsored by:	The FreeBSD Foundation
2017-07-04 17:32:51 +00:00
..
include Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update 2017-07-02 11:41:15 +00:00
lib Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update 2017-07-02 11:41:15 +00:00
patches Undo r289072, which reverted upstream llvm trunk r240144. This is going 2016-01-16 17:57:54 +00:00
projects/libunwind libunwind: add noexec stack annotation 2017-01-07 14:40:58 +00:00
tools lld: [ELF] Remove unused synthetic sections from script commands 2017-07-04 17:32:51 +00:00
utils/TableGen Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and update 2017-07-02 11:41:15 +00:00
FREEBSD-Xlist Update FREEBSD-Xlist files for llvm and clang. 2015-05-27 20:58:54 +00:00
LICENSE.TXT Merge llvm, clang, lld and lldb release_40 branch r292009. Also update 2017-01-14 22:12:13 +00:00