This is an archive of the discontinued LLVM Phabricator instance.

[LLD][COFF] Case insensitive compares for /nodefaultlib
ClosedPublic

Authored by aganea on Jun 25 2019, 9:05 AM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

aganea created this revision.Jun 25 2019, 9:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2019, 9:05 AM
aganea updated this revision to Diff 206466.Jun 25 2019, 9:08 AM

Updated test.

rnk added a comment.Jun 25 2019, 11:07 AM

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 ↗(On Diff #206466)

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

aganea updated this revision to Diff 206536.Jun 25 2019, 3:09 PM
aganea marked an inline comment as done.

Case-insensitive on Linux as requested.

rnk accepted this revision.Jun 25 2019, 3:43 PM

lgtm

This revision is now accepted and ready to land.Jun 25 2019, 3:43 PM
ruiu accepted this revision.Jun 26 2019, 4:29 AM

LGTM

This revision was automatically updated to reflect the committed changes.