[lld] r257889 - Reapply r257753 with fix:

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 12:48:11 PST 2016


Thanks a lot for implementing this!

> +template <class ELFT>
> +void EhFrameHeader<ELFT>::assignEhFrame(EHOutputSection<ELFT> *Sec) {
> +  if (this->Sec && this->Sec != Sec) {
> +    warning("multiple .eh_frame sections not supported for .eh_frame_hdr");
> +    Live = false;
> +    return;

Can this warning ever fire? If not it should be just an assert.

Cheers,
Rafael


More information about the llvm-commits mailing list