Lines Matching full:memory
2 # RUN: wasm-ld --export-memory=foo -o %t.wasm %t.start.o
5 # Verify that the --export-memory=<name> option changes the exported name of the module's memory
10 # CHECK-NEXT: Kind: MEMORY
17 # RUN:wasm-ld --export-memory --export-memory -o %t.unnamed.wasm %t.start.o
20 # Verify that the --export-memory option without a parameter exports the memory
21 # as "memory"
25 # CHECK-UNNAMED-NEXT: - Name: memory
26 # CHECK-UNNAMED-NEXT: Kind: MEMORY
33 # RUN:wasm-ld --export-memory=foo --export-memory=foo -o %t.duplicate.wasm %t.start.o
36 # Verify that passing --export-memory with the same name twice works
41 # CHECK-DUPLICATE-NEXT: Kind: MEMORY
48 # RUN:wasm-ld --import-memory=foo,bar -o %t.import.wasm %t.start.o
51 # Verify that memory imports can be renamed, and that no memory is exported by
52 # default when memory is being imported
58 # CHECK-IMPORT-NEXT: Kind: MEMORY
59 # CHECK-IMPORT-NEXT: Memory:
68 # RUN:wasm-ld --import-memory=foo,bar --export-memory=qux -o %t.both.wasm %t.start.o
71 # Verify that memory can be both imported and exported from a module
77 # CHECK-BOTH-NEXT: Kind: MEMORY
78 # CHECK-BOTH-NEXT: Memory:
83 # CHECK-BOTH-NEXT: Kind: MEMORY