<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:aprantl@apple.com" title="Adrian Prantl <aprantl@apple.com>"> <span class="fn">Adrian Prantl</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - BlockAddress instruction with use from the global context is damaged during module link"
   href="http://llvm.org/bugs/show_bug.cgi?id=13163">bug 13163</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 --- - BlockAddress instruction with use from the global context is damaged during module link"
   href="http://llvm.org/bugs/show_bug.cgi?id=13163#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - BlockAddress instruction with use from the global context is damaged during module link"
   href="http://llvm.org/bugs/show_bug.cgi?id=13163">bug 13163</a>
              from <span class="vcard"><a class="email" href="mailto:aprantl@apple.com" title="Adrian Prantl <aprantl@apple.com>"> <span class="fn">Adrian Prantl</span></a>
</span></b>
        <pre>Unfortunately I had to revert this change for now, because it breaks the
following testcase:

$ cat test.ll
%foo = type { void (i32*)* }
@global_initializer = internal constant %foo { void (i32*)* @bar }

define internal void @bar(i32*) {
 ret void
}
$ llvm-link some-empty-file.ll test.ll |llvm-dis

This causes “bar” (which is only referenced by a not-yet-linked global
initializer) to be removed.

sorry!
Adrian</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>