| commit | cb7520a3a66e8d4c6fc00f44e209e19461f31493 | [log] [tgz] |
|---|---|---|
| author | Fangrui Song <i@maskray.me> | Thu Apr 04 09:38:01 2024 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 04 09:39:22 2024 -0700 |
| tree | c638e6a347105b79c8f3a6780d90bf4223f123bc | |
| parent | b4d1688d4cf3656be9647086bf835358a9b0ce11 [diff] |
[ELF] PROVIDE: fix spurious "symbol not found" When archive member extraction involving ENTRY happens after `addScriptReferencedSymbolsToSymTable`, `addScriptReferencedSymbolsToSymTable` may fail to define some PROVIDE symbols used by ENTRY. This is an edge case that regressed after #84512. (The interaction with PROVIDE and ENTRY-in-archive was not considered before). While here, also ensure that --undefined-glob extracted object files are parsed before `addScriptReferencedSymbolsToSymTable`. Fixes: ebb326a51fec37b5a47e5702e8ea157cd4f835cd Pull Request: https://github.com/llvm/llvm-project/pull/87530 GitOrigin-RevId: dcc45faa30041a3378bcde4857df205382f1996a
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.