[llvm-bugs] [Bug 34518] New: .eh_frame is not optimized when two sections are ICFed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 7 08:24:09 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34518

            Bug ID: 34518
           Summary: .eh_frame is not optimized when two sections are ICFed
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org

Given

        .section        .text.bar,"ax", at progbits
        .cfi_startproc
        nop
        .cfi_endproc

        .section        .text.foo,"ax", at progbits
        .cfi_startproc
        nop
        .cfi_endproc

lld will merge the two sections, but .eh_frame will still have two duplicate
entries.

gold will merge the .eh_frame entries too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170907/299c7854/attachment.html>


More information about the llvm-bugs mailing list