[lld] [lld][WebAssembly] Fix use of undefined funcs under --warn-unresolved-symbols (PR #78643)

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 17:32:08 PST 2024


================
@@ -53,9 +58,10 @@
 # IGNORE-NEXT:        Name:            get_func_addr
 
 ## --import-undefined should handle unresolved funtions symbols
-# by importing them but still report errors/warning for missing data symbols.
-# `--allow-undefined` should behave like `--import-undefined` +
-# `--unresolve-symbols=ignore`
+## by importing them but still report errors/warning for missing data symbols.
+## `--allow-undefined` should behave like `--import-undefined` +
+## `--unresolve-symbols=ignore`
+# RUN: wasm-ld %t1.o -o %t3.wasm --import-undefined --unresolved-symbols=ignore-all
----------------
dschuff wrote:

was it intentional to duplicate this line (should it have been `--allow-undefined`?)

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


More information about the llvm-commits mailing list