forked from OSchip/llvm-project
14 lines
508 B
Plaintext
14 lines
508 B
Plaintext
# RUN: llc -filetype=obj %p/Inputs/start.ll -o %t.start.o
|
|
# RUN: wasm-ld --check-signatures --import-memory -o %t.wasm %t.start.o
|
|
# RUN: obj2yaml %t.wasm | FileCheck %s
|
|
|
|
# Verify the --import-memory flag creates a memory import
|
|
|
|
# CHECK: - Type: IMPORT
|
|
# CHECK-NEXT: Imports:
|
|
# CHECK-NEXT: - Module: env
|
|
# CHECK-NEXT: Field: memory
|
|
# CHECK-NEXT: Kind: MEMORY
|
|
# CHECK-NEXT: Memory:
|
|
# CHECK-NEXT: Initial: 0x00000002
|