llvm-project/lld/test
George Rimar 147747ab0b Revert or r256638. I`ve lost a little piece of code when resolved conflicts right before commit. Sorry about that.
Test did not catch this either, so I`ll improve it and recommit later.

Original commit message:
[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: 256693
2016-01-02 16:55:01 +00:00
..
COFF COFF: Non-external COMDAT sections sholud not be merged by ICF. 2015-12-03 02:23:33 +00:00
Driver Rename the gnu flavour to gnu old. 2015-11-16 08:54:19 +00:00
ELF Revert or r256638. I`ve lost a little piece of code when resolved conflicts right before commit. Sorry about that. 2016-01-02 16:55:01 +00:00
LinkerScript Add PHDR and FILL parsing. 2015-05-28 00:14:58 +00:00
Unit
core Delete unnecessary generality in loadFile. 2015-04-24 15:51:45 +00:00
darwin Delete unnecessary generality in loadFile. 2015-04-24 15:51:45 +00:00
mach-o Regenerated test according to the example assembly at the top. NFC. 2015-12-18 23:43:17 +00:00
old-elf Make ELF2 the default. 2015-11-17 07:19:44 +00:00
CMakeLists.txt [MachO] Use llvm-readobj in lieu of macho-dump. 2015-09-22 17:31:01 +00:00
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