diff options
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 938e63ae544..fd08dfbb0f5 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -862,7 +862,7 @@ template <class ELFT> void EhFrameHeader<ELFT>::writeTo(uint8_t *Buf) { template <class ELFT> void EhFrameHeader<ELFT>::assignEhFrame(EHOutputSection<ELFT> *Sec) { if (this->Sec && this->Sec != Sec) - llvm_unreachable("multiple .eh_frame sections not supported for .eh_frame_hdr"); + assert("multiple .eh_frame sections not supported for .eh_frame_hdr"); Live = Config->EhFrameHdr; this->Sec = Sec; } |