| commit | b59ceb106864bf5a777e89413b6140a5a4fc89d0 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Mon Dec 11 23:09:18 2017 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Mon Dec 11 23:09:18 2017 +0000 |
| tree | a12bd3260f541571cff1983f7065b8c5b308dc90 | |
| parent | 9d8ce23c9c3675ad80a78540ae968ef2c154836a [diff] |
Do not read the same .lib file more than once. 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 Differential Revision: https://reviews.llvm.org/D41094 llvm-svn: 320434