<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Implement MCSymbol machine operand parsing in the MIRParser"
   href="https://bugs.llvm.org/show_bug.cgi?id=33490">33490</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Implement MCSymbol machine operand parsing in the MIRParser
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>thegameg1@yahoo.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=18653" name="attach_18653" title="Basic test case with exceptions.">attachment 18653</a> <a href="attachment.cgi?id=18653&action=edit" title="Basic test case with exceptions.">[details]</a></span>
Basic test case with exceptions.

Trunk revision: r304838

MIR input from -stop-before passfoo should be able to be parsed by
-start-before passfoo. This is failing today with exceptions involved.

StopBeforeStartAfterExceptions.ll (attached) is a really basic test case with
exceptions.

$ llc -mtriple=x86_64-- StopBeforeStartAfterExceptions.ll -stop-before
prologepilog -o /tmp/mir.mir

$ llc -mtriple=x86_64-- /tmp/mir.mir -start-before prologepilog -o -

error: /tmp/mir.mir:65:14: expected a machine operand
    EH_LABEL <mcsymbol .Ltmp0>

This seems to be related to the FIXME in CodeGen/MIRParser/MIParser.cpp
(<a href="https://reviews.llvm.org/diffusion/L/browse/llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp;305595$1868">https://reviews.llvm.org/diffusion/L/browse/llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp;305595$1868</a>).</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>