1 # RUN: yaml2obj < %s | llvm-nm - | FileCheck -strict-whitespace %s
3 # Check that wasm weak function/global/data symbols are displayed correctly
19 Field: weak_import_func
51 Name: weak_defined_data
52 Flags: [ BINDING_WEAK ]
57 Name: weak_defined_func
58 Flags: [ BINDING_WEAK ]
62 Name: weak_defined_global
63 Flags: [ BINDING_WEAK ]
67 Name: weak_import_data
68 Flags: [ BINDING_WEAK, UNDEFINED ]
71 Name: weak_import_func
72 Flags: [ BINDING_WEAK, UNDEFINED ]
76 Name: .rodata.constantData
81 # CHECK: 00000000 W weak_defined_data
82 # CHECK-NEXT: 00000001 W weak_defined_func
83 # CHECK-NEXT: 00000000 W weak_defined_global
84 # CHECK-NEXT: w weak_import_data
85 # CHECK-NEXT: w weak_import_func