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.
7 lines
278 B
LLVM
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
|