llvm-project
7223f67f - [LLD][COFF] Don't resolve weak aliases when performing local import (#152000)

Commit
55 days ago
[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.
Author
Parents
Loading