aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-10-26 09:13:19 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-10-26 09:13:19 +0000
commitd605f414dba6490b03029ec8a07ff5bec4ac4fa1 (patch)
tree8bc77fc92b1e8a9fbe8df53379cd0ac73da85018 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb72b1fb0de0b07e7cf896109a0506256153b9dd1 (diff)
downloadllvm-d605f414dba6490b03029ec8a07ff5bec4ac4fa1.zip
llvm-d605f414dba6490b03029ec8a07ff5bec4ac4fa1.tar.gz
llvm-d605f414dba6490b03029ec8a07ff5bec4ac4fa1.tar.bz2
[ELF] - Dedupliсate FDEs when sections are ICFed.
When LLD do ICF for 2 identical sections it leaves 2 duplicate entries in .eh_frame pointing to the same address. After that it fixes .eh_frame_header's header, so that it says it contains single FDE, though section itself contains 2 (it contains garbage data at tail). As a result excessive entries in .eh_frame and excessive dummy data in .eh_frame_header emited to output. Patch fixes that. This is PR34518. Differential revision: https://reviews.llvm.org/D38998 llvm-svn: 316648
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions