<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:tabloid.adroit@gmail.com" title="Yuanfang Chen <tabloid.adroit@gmail.com>"> <span class="fn">Yuanfang Chen</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in llvm_shutdown when running llc"
   href="http://llvm.org/bugs/show_bug.cgi?id=11225">bug 11225</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in llvm_shutdown when running llc"
   href="http://llvm.org/bugs/show_bug.cgi?id=11225#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in llvm_shutdown when running llc"
   href="http://llvm.org/bugs/show_bug.cgi?id=11225">bug 11225</a>
              from <span class="vcard"><a class="email" href="mailto:tabloid.adroit@gmail.com" title="Yuanfang Chen <tabloid.adroit@gmail.com>"> <span class="fn">Yuanfang Chen</span></a>
</span></b>
        <pre>$ llc bugpoint-reduced-simplified.bc 
While deleting: metadata %
!{null, null, null, metadata !"elapsed_time_", metadata !"elapsed_time_",
metadata !"elapsed_time_", null, metadata <badref>, null, null, null, null,
null, null, null, null, null, null, metadata <badref>, null}

An asserting value handle still pointed to this value!
UNREACHABLE executed at /home/arch/Build/llvm-3.3.src/lib/IR/Value.cpp:633!
0  libLLVMSupport.so 0x00007fb068e3e9e1 llvm::sys::PrintStackTrace(_IO_FILE*) +
38
1  libLLVMSupport.so 0x00007fb068e3ec5e
2  libLLVMSupport.so 0x00007fb068e3e6d7
3  libpthread.so.0   0x00007fb068705870
4  libc.so.6         0x00007fb06794d3d9 gsignal + 57
5  libc.so.6         0x00007fb06794e7d8 abort + 328
6  libLLVMSupport.so 0x00007fb068de5360
7  libLLVMCore.so    0x00007fb06989d3ca
llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 660
8  libLLVMCore.so    0x00007fb06989ba28 llvm::Value::~Value() + 62
9  libLLVMCore.so    0x00007fb06986b41f llvm::MDNode::~MDNode() + 279
10 libLLVMCore.so    0x00007fb06986b68f llvm::MDNode::destroy() + 67
11 libLLVMCore.so    0x00007fb06985fa98
llvm::LLVMContextImpl::~LLVMContextImpl() + 1692
12 libLLVMCore.so    0x00007fb06985dbc1 llvm::LLVMContext::~LLVMContext() + 39
13 libLLVMCore.so    0x00007fb06985e9a3
14 libLLVMSupport.so 0x00007fb068ded11f llvm::ManagedStaticBase::destroy()
const + 147
15 libLLVMSupport.so 0x00007fb068ded14d llvm::llvm_shutdown() + 21
16 llc               0x000000000041139b
17 llc               0x000000000040d0f3
18 libc.so.6         0x00007fb067939bc5 __libc_start_main + 245
19 llc               0x000000000040ca19
Stack dump:
0.      Program arguments: llc bugpoint-reduced-simplified.bc 
Aborted (core dumped)</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>