commit | 6185bcfd531156c21e819d1b07eee526d10fc523 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Mon Oct 02 13:47:30 2023 +0300 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 02 03:50:23 2023 -0700 |
tree | 3b975bc1636d85a98c52e5e6382f064c43efc90d | |
parent | b2d8b68daf74818555f9856a3591c18e5ac6fc19 [diff] |
[LLD] [COFF] Restore the current dir as the first entry in the search path (#67857) Before af744f0b84e2b6410be65277068b9033124c73b2, the first entry among the search paths was the empty string, indicating searching in (or starting from) the current directory. After af744f0b84e2b6410be65277068b9033124c73b2, the toolchain/clang specific lib directories were added at the head of the search path. This would cause lookups of literal file names or relative paths to match paths in the toolchain, if there are coincidental files with similar names there, even if they would be find in the current directory as well. Change addClangLibSearchPaths to append to the list like all other operations on searchPaths - but move the invocation of the function to the right place in the sequence. This fixes #67779. GitOrigin-RevId: f906fd53b5ce12f07aec394ddf900c7f9f583405
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.