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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs