reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ; Tests error on archive file without a symbol table ; RUN: llvm-as -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 define i32 @_start() { ret i32 0 } ; CHECK: archive has no index; run ranlib to add one |