[LLVMbugs] [Bug 18710] New: Only generate .ARM.exidx and .ARM.extab when needed in EHABI

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 3 09:47:33 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18710

            Bug ID: 18710
           Summary: Only generate .ARM.exidx and .ARM.extab when needed in
                    EHABI
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Currently, when compiling C code on ARM, the EH sections .ARM.exidx is being
generated when it shouldn't.

The rules for generating the sections, AFAIK, are:

* .ARM.extab only if the function can unwind (ie. no leaf, C++, etc)
* .ARM.exidx only if there is one or more .ARM.extabs

The rule for generating .ARM.extab looks correct, but the .ARM.exidx is always
there, probably an artefact due to EHABI never been enabled by default until
now.

-- 
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/20140203/fe746e58/attachment.html>


More information about the llvm-bugs mailing list