<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-extract alters linkage of symbols"
   href="http://llvm.org/bugs/show_bug.cgi?id=15567">bug 15567</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-extract alters linkage of symbols"
   href="http://llvm.org/bugs/show_bug.cgi?id=15567#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-extract alters linkage of symbols"
   href="http://llvm.org/bugs/show_bug.cgi?id=15567">bug 15567</a>
              from <span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span></b>
        <pre>I think this is a developer/debugging tool and should not be used in a product.

It is used for bisecting a problem. Lets say we have a foo.bc file that
triggers a bug somewhere. We can run

$ llvm-extract -func=foo -o bar1.bc
$ llvm-extract -delete -func=foo -o bar2.bc
$ llc ... bar1.bc -o bar1.o
$ good-llc ... bar2.bc -o bar2.o
# Link bar2.o and bar1.o and see if it has the bug. If so, we can continue the
reduction looking only at function foo.

For this to work, internal symbols have to be converted to default ones with
hidden visibility.</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>