1 ; RUN: llvm-as %S/Inputs/archive.ll -o %t1.o
3 ; RUN: llvm-ar rcs %t.a %t1.o
4 ; RUN: llvm-as %s -o %t2.o
5 ; RUN: wasm-ld --export-dynamic %t2.o %t.a -o %t3
6 ; RUN: obj2yaml %t3 | FileCheck %s
8 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
9 target triple = "wasm32-unknown-unknown"
11 define void @_start() {
19 ; CHECK-NEXT: FunctionNames:
20 ; CHECK-NEXT: - Index: 0
21 ; CHECK-NEXT: Name: _start
22 ; CHECK-NEXT: - Index: 1