[lld] [LLD] [COFF] Handle manually defined __imp_ pointers in LTO (PR #70777)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 23:58:10 PST 2023


MaskRay wrote:

This patch forces `__imp_sym` to be retained in the output. Am I right that this could be relaxed to when `sym` is referenced? But that would introduce some complexity as `__imp_sym` `sym->isUsedInRegularObj = true;` needs to be done after all input files are parsed.

https://github.com/llvm/llvm-project/pull/70777


More information about the llvm-commits mailing list