[lld] Fix SEGFAULT in wasm-ld when importing wrapped symbol (PR #169656)
Lukas Döllerer via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 27 01:14:15 PST 2025
================
@@ -0,0 +1,36 @@
+# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %s -o %t.o
+# RUN: wasm-ld -emit-relocs -wrap nosuchsym -wrap foo -allow-undefined -o %t.wasm %t.o
+# RUN: obj2yaml %t.wasm | FileCheck %s
+
+.globl foo
+.globl _start
+
+foo:
+ .functype foo () -> (i32)
+ i32.const 1
----------------
Lukasdoe wrote:
done :)
https://github.com/llvm/llvm-project/pull/169656
More information about the llvm-commits
mailing list