You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
417 B
15 lines
417 B
# Tests error on archive file without a symbol table
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
|
|
# RUN: llvm-as -o %t.archive.o %S/Inputs/archive1.ll
|
|
# RUN: rm -f %t.a
|
|
# RUN: llvm-ar crS %t.a %t.archive.o
|
|
|
|
# RUN: not wasm-ld -o out.wasm %t.o %t.a 2>&1 | FileCheck %s
|
|
|
|
.globl _start
|
|
_start:
|
|
.functype _start () -> ()
|
|
end_function
|
|
|
|
# CHECK: archive has no index; run ranlib to add one
|