Files
llvm-project/llvm/test/CodeGen/WebAssembly/common-error.ll
Derek Schuff c3db52701e [MC][Wasm] Emit useful error message when encountering common symbols (#179586)
We don't currently support common symbols for Wasm, and we currently
emit a generic error with a backtrace. Instead, don't crash, and report
the names of the offending symbols.
2026-02-06 00:40:25 +00:00

7 lines
278 B
LLVM

; RUN: not llc -mtriple=wasm32-unknown-unknown -filetype=asm %s -o - 2>&1 | FileCheck %s
; CHECK: common symbols are not yet implemented for Wasm: x
; CHECK: common symbols are not yet implemented for Wasm: y
@x = common global i32 0, align 4
@y = common global i32 0, align 4