MSVC stamps uppercase strings in directive sections, thus /nodefaultlib must be handled with case insensitive tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
Comment Actions
I guess /nodefaultlib just isn't that common compared to /defaultlib, so this hadn't been reported yet. Fix makes sense to me.
COFF/Driver.cpp | ||
---|---|---|
303 | I don't think we want this ifdef, I think we want LLD to do this when cross-linking from Linux to Windows. This is something we try to support for Chromium: |
I don't think we want this ifdef, I think we want LLD to do this when cross-linking from Linux to Windows. This is something we try to support for Chromium:
https://chromium.googlesource.com/chromium/src/+/master/docs/win_cross.md