1 # RUN: yaml2obj < %s | llvm-nm - | FileCheck -strict-whitespace %s
3 # Check that wasm weak function/global/data symbols are displayed correctly
18 Field: weak_import_func
50 Name: weak_defined_data
51 Flags: [ BINDING_WEAK ]
56 Name: weak_defined_func
57 Flags: [ BINDING_WEAK ]
61 Name: weak_defined_global
62 Flags: [ BINDING_WEAK ]
66 Name: weak_import_data
67 Flags: [ BINDING_WEAK, UNDEFINED ]
70 Name: weak_import_func
71 Flags: [ BINDING_WEAK, UNDEFINED ]
75 Name: .rodata.constantData
80 # CHECK: 00000000 W weak_defined_data
81 # CHECK-NEXT: 00000001 W weak_defined_func
82 # CHECK-NEXT: 00000000 W weak_defined_global
83 # CHECK-NEXT: w weak_import_data
84 # CHECK-NEXT: w weak_import_func