1 # RUN: yaml2obj %s -o %t1.o
3 # RUN: wasm-ld --no-entry %t1.o -o - | obj2yaml | FileCheck %s --check-prefix NO-SHARED
5 # RUN: not wasm-ld --no-entry --shared-memory --max-memory=131072 %t1.o -o - 2>&1 | FileCheck %s --check-prefix SHARED
14 Field: __linear_memory
19 Field: __indirect_function_table
33 Content: 68656C6C6F0A00
46 Name: .rodata.hello_str
56 # NO-SHARED: - Type: MEMORY
57 # NO-SHARED-NEXT: Memories:
58 # NO-SHARED-NEXT: - Minimum: 0x2
59 # NO-SHARED-NOT: Maximum:
61 # SHARED: --shared-memory is disallowed by {{.*}}shared-memory-no-atomics.yaml.tmp1.o because it was not compiled with 'atomics' or 'bulk-memory' features.