<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - _Unwind_GetIP not provided on ARM"
   href="http://llvm.org/bugs/show_bug.cgi?id=16564">16564</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>_Unwind_GetIP not provided on ARM
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Headers
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>scherkus@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="http://llvm.org/viewvc/llvm-project?view=revision&revision=148469">http://llvm.org/viewvc/llvm-project?view=revision&revision=148469</a>

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

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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>