[LLVMbugs] [Bug 20790] New: unw_get_proc_name returns unhelpful errors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 28 10:22:53 PDT 2014


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

            Bug ID: 20790
           Summary: unw_get_proc_name returns unhelpful errors
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: danalbert at google.com
          Reporter: danalbert at google.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

The unw_get_proc_name() in the libc++abi unwinder will only ever return success
or UNW_EUNSPEC. The current behavior of AddressSpace::findFunctionName() means
we should be returning UNW_ENOINFO, but we should also be checking for
UNW_ENOMEM.

https://github.com/llvm-mirror/libcxxabi/blob/master/src/Unwind/libunwind.cpp#L257

-- 
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/20140828/04f0dac4/attachment.html>


More information about the llvm-bugs mailing list