llvm-project/lld/test
George Rimar 57286644f7 [ELF] - Optimize .eh_frame section: remove CIE if all FDEs referencing it were removed.
This patch performs little optimization for eh_frame section.
If all FDE`s that referenced CIE are removed then CIE is also removed from output. 
That can happen for example when dropping FDEs that point to dropped sections. Testcase showing that is included.
The same optimization was added to ld about 14 years ago: https://sourceware.org/ml/binutils/2001-12/msg00144.html, gold does not do that it seems.

Differential revision: http://reviews.llvm.org/D15564

llvm-svn: 256638
2015-12-30 11:40:44 +00:00
..
COFF
Driver
ELF [ELF] - Optimize .eh_frame section: remove CIE if all FDEs referencing it were removed. 2015-12-30 11:40:44 +00:00
LinkerScript
Unit
core
darwin
mach-o Regenerated test according to the example assembly at the top. NFC. 2015-12-18 23:43:17 +00:00
old-elf
CMakeLists.txt
lit.cfg [lld] Watch out for tool names inside paths when substituting tool-paths in lit. 2015-12-11 22:09:03 +00:00
lit.site.cfg.in