<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 --- - llc on ARM doesn't emit exception catch"
   href="http://llvm.org/bugs/show_bug.cgi?id=17031">17031</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llc on ARM doesn't emit exception catch
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>weimingz@codeaurora.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>Created <span class=""><a href="attachment.cgi?id=11114" name="attach_11114" title="expected asm">attachment 11114</a> <a href="attachment.cgi?id=11114&action=edit" title="expected asm">[details]</a></span>
expected asm

llc -O2 < testthrow.ll  
in the main function, the code for catching exception is missing.
As a result, it hits segment fault.

clang 3.3 in Google's NDK works properly:
android-ndk-r9/toolchains/llvm-3.3/prebuilt/linux-x86_64/bin/clang++  -target
armv7-none-linux-androideabi -march=armv7-a -mfloat-abi=softfp  -O2
testthrow.ll -c -S -o good.s</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>