[lld] [LLD][COFF] Prevent to emit relocations for discarded weak wrapped symbols (PR #156214)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 05:10:21 PDT 2025


================
@@ -1,42 +1,59 @@
 // REQUIRES: x86
 
 // Check that we can wrap a dllimported symbol, so that references to
-// __imp_<symbol> gets redirected to a defined local import instead.
+// __imp_<symbol> gets redirected to a symbol already exists or a defined local import instead
----------------
mstorsjo wrote:

This comment seems to lack some word to be proper English - "to a symbol _that_ already exists", or something like that?

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


More information about the llvm-commits mailing list