forked from OSchip/llvm-project
15 lines
417 B
ArmAsm
15 lines
417 B
ArmAsm
# 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
|