This is an archive of the discontinued LLVM Phabricator instance.

Do not read the same .lib file more than once.
ClosedPublic

Authored by ruiu on Dec 11 2017, 2:22 PM.

Details

Summary

In the following command line,

lld-link foo/bar.lib /defaultlib:bar.lib

"/defaultlib:bar.lib" should be a nop even if a file with the same
name exists in other library search path.

Fixes https://bugs.llvm.org/show_bug.cgi?id=35476

Diff Detail

Repository
rLLD LLVM Linker

Event Timeline

ruiu created this revision.Dec 11 2017, 2:22 PM
zturner accepted this revision.Dec 11 2017, 3:04 PM
This revision is now accepted and ready to land.Dec 11 2017, 3:04 PM
This revision was automatically updated to reflect the committed changes.