This avoids the need to talk about lib.exe or llvm-lib.exe and it does
the right thing with LLD.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Yep, it does the right thing. link -lib -? prints the options for lib.exe. I figured this was simpler than managing the path for a separate tool.
Comment Actions
TIL! It's not documented on https://docs.microsoft.com/en-us/cpp/build/reference/linker-options?view=vs-2019 but that now lld-link /lib makes much more sense to me :D
Thanks for the patch!