diff options
author | Jacek Caban <jacek@codeweavers.com> | 2024-09-19 13:20:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 13:20:01 +0200 |
commit | 912e821ab3d415dc8421f53738ebabcc7f1dac2d (patch) | |
tree | 45aeac3afd4c7f6e78915c0d531025c996676428 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | baf9b7da81025c1e3b0704d7ecf667e06f95642b (diff) | |
download | llvm-912e821ab3d415dc8421f53738ebabcc7f1dac2d.zip llvm-912e821ab3d415dc8421f53738ebabcc7f1dac2d.tar.gz llvm-912e821ab3d415dc8421f53738ebabcc7f1dac2d.tar.bz2 |
[LLD][COFF] Process all live import symbols in MapFile's getSymbols() (#109117)
The current logic assumes that the import file is pulled by object
files, and the loop for import files only needs to handle cases where
the `__imp_` symbol is implicitly pulled by an import thunk. This is
fragile, as the symbol may also be pulled through other means, such as
the -export argument in tests. Additionally, this logic is insufficient
for ARM64EC, which exposes multiple symbols through an import file, and
referencing any one of them causes all of them to be defined.
With this change, import symbols are added to `syms` more often, but we
ensure that output symbols remain unique later in the process
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions