diff options
author | Jacek Caban <jacek@codeweavers.com> | 2025-08-04 15:21:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-05 00:21:04 +0200 |
commit | 7223f67ffc37fe479c399f87d8bec606496e50fe (patch) | |
tree | dbde20f0a66713fd01c3a57cca3ae068986b7bdb /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 771d9ab7017369093e98d8a82010a7a7f4d32226 (diff) | |
download | llvm-7223f67ffc37fe479c399f87d8bec606496e50fe.zip llvm-7223f67ffc37fe479c399f87d8bec606496e50fe.tar.gz llvm-7223f67ffc37fe479c399f87d8bec606496e50fe.tar.bz2 |
[LLD][COFF] Don't resolve weak aliases when performing local import (#152000)
Fixes crashes reported in #151255.
The alias may have already been stored for later resolution, which can
lead to treating a resolved alias as if it were still undefined.
Instead, use the alias target directly for the import.
Also extended the test to make reproducing the problem more likely, and
added an assert that catches the issue.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions