[llvm-bugs] [Bug 31192] New: Unwinding of noreturn functions fails if the function is the last function in a section

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 28 06:04:14 PST 2016


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

            Bug ID: 31192
           Summary: Unwinding of noreturn functions fails if the function
                    is the last function in a section
           Product: lldb
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The reason for that is that the caller PC can end up outside the bounds of any
module. We have special code which handles the case where the PC lands outside
the function bounds (but still within the correct module). However that fails
when the PC actually ends up outside any module.

Currently, this breaks TestNoreturnUnwind on android x86_64, but I am pretty
sure it can be reproduced on any target.

-- 
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/20161128/07f3125a/attachment.html>


More information about the llvm-bugs mailing list