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

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 8 09:26:42 PDT 2020


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

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |i at maskray.me
         Resolution|---                         |FIXED

--- Comment #1 from Fangrui Song <i at maskray.me> ---
Thanks, fixed by 99cd56906a4dd00db25b045eccddcb6802d39f8d [ELF] --wrap: set
isUsedInRegularObj of __wrap_ if it is defined or shared

I noticed another problem: in the new test in wrap-shlib-undefined.s, GNU ld
does not add an undefined `bar` in .dynsym

-- 
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/20200808/7b3baff1/attachment.html>


More information about the llvm-bugs mailing list