<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 - [DebugInfo@O2]: LLVM ERROR: Broken function found, while removing Debug Intrinsics"
   href="https://bugs.llvm.org/show_bug.cgi?id=40523">40523</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[DebugInfo@O2]: LLVM ERROR: Broken function found, while removing Debug Intrinsics
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>international.phantom@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>aprantl@apple.com, chackz0x12@gmail.com, greg.bedwell@sony.com, htmldeveloper@gmail.com, jeremy.morse.llvm@gmail.com, llvm-bugs@lists.llvm.org, mikael.holmen@ericsson.com, paul.robinson@am.sony.com, vsk@apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21404" name="attach_21404" title="Test case that reproduces the crash.">attachment 21404</a> <a href="attachment.cgi?id=21404&action=edit" title="Test case that reproduces the crash.">[details]</a></span>
Test case that reproduces the crash.

Given the attached test case and using the following
command line:

opt -S -o - bbi-23595.ll -simplifycfg

you get

llvm.dbg.label intrinsic requires a !dbg attachment
   call void @llvm.dbg.label(metadata !1)
label %entry
i16 ()* @_Z7test_itv
in function _Z7test_itv

LLVM ERROR: Broken function found, compilation aborted!</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>