GNU ld doesn't seem to do this though, but it looks like a reasonable use case, is easy to implement, and was requested in https://bugs.llvm.org/show_bug.cgi?id=47384.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91689
[LLD] [COFF] Allow wrapping dllimported functions ClosedPublic Authored by mstorsjo on Nov 18 2020, 1:35 AM.
Details
Summary GNU ld doesn't seem to do this though, but it looks like a reasonable use case, is easy to implement, and was requested in https://bugs.llvm.org/show_bug.cgi?id=47384.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 23 2020, 3:01 PM Closed by commit rG0b2d84fba84b: [LLD] [COFF] Allow wrapping dllimported functions (authored by mstorsjo). · Explain WhyNov 24 2020, 12:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 307256 lld/COFF/MinGW.cpp
lld/test/COFF/wrap-dllimport.s
lld/test/COFF/wrap-import.ll
|