[llvm-bugs] [Bug 47017] New: --wrap with a wrapper function from a DSO fails

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 08:13:00 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47017

            Bug ID: 47017
           Summary: --wrap with a wrapper function from a DSO fails
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: anng.sw at gmail.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

Created attachment 23823
  --> https://bugs.llvm.org/attachment.cgi?id=23823&action=edit
Test to reproduce issue.

Since the commit "[ELF] --wrap: set isUsedInRegularObj of __wrap_ only if it is
defined"
(https://github.com/llvm/llvm-project/commit/e281376e996e37fb6411363510e917b5b2c53c89),
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200806/892bc47d/attachment.html>


More information about the llvm-bugs mailing list