evgeny777 added a comment. This patch causes crash, when creating PT_GNU_EH_FRAME segment in Writer<ELFT>::createPhdrs (OutSec is nullptr) in case .eh_frame section is discarded in linker script. Repository: rL LLVM https://reviews.llvm.org/D30627