[LLVMbugs] [Bug 16564] New: _Unwind_GetIP not provided on ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 8 13:15:26 PDT 2013


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

            Bug ID: 16564
           Summary: _Unwind_GetIP not provided on ARM
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: scherkus at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm writing stack trace dumping code and noticed clang doesn't provide
_Unwind_GetIP on ARM in its implementation of unwind.h

For reference, I believe the ARM code was added in r148469 by eugenis@ but
_Unwind_GetIP was left out:
http://llvm.org/viewvc/llvm-project?view=revision&revision=148469

Our current workaround uses _Unwind_VRS_Get() and removing the thumb mode bit:
http://src.chromium.org/viewvc/chrome/trunk/src/base/debug/stack_trace_android.cc?revision=210132#l41

Apologies in advance as I'm new to filing llvm bugs... but if GCC's ARM
unwind.h provides an _Unwind_GetIP, should clang provide an implementation as
well?

-- 
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/20130708/ea5542e5/attachment.html>


More information about the llvm-bugs mailing list