Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Yes, we still need to keep it there.
In order to move all of that into the COFF linker side, we'd need to extend the lld-link command line interface quite a bit. The MinGW linker takes -lfoo, which can either mean libfoo.a or libfoo.dll.a (unless the -Bstatic flag was passed). As lld-link today only takes full filenames, this doesn't fit right away as is. And we'd need the static flag of course. And the static flag isn't global but only affects any later -lfoo up until the next -Bdynamic.