<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 - --wrap with a wrapper function from a DSO fails"
   href="https://bugs.llvm.org/show_bug.cgi?id=47017">47017</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>--wrap with a wrapper function from a DSO fails
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>ELF
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>anng.sw@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, smithp352@googlemail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23823" name="attach_23823" title="Test to reproduce issue.">attachment 23823</a> <a href="attachment.cgi?id=23823&action=edit" title="Test to reproduce issue.">[details]</a></span>
Test to reproduce issue.

Since the commit "[ELF] --wrap: set isUsedInRegularObj of __wrap_ only if it is
defined"
(<a href="https://github.com/llvm/llvm-project/commit/e281376e996e37fb6411363510e917b5b2c53c89">https://github.com/llvm/llvm-project/commit/e281376e996e37fb6411363510e917b5b2c53c89</a>),
which fixed PR46169, --wrap with a wrapper function from a DSO no longer works.

I have attached the test 'wrap-shared.s' to reproduce the issue.</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>