Revert or r256638. I`ve lost a little piece of code when resolved conflicts...
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
Loading
Please register or sign in to comment