4 # RUN: yaml2obj --docnum=1 %s -o test.wasm
5 # RUN: yaml2obj --docnum=2 %s -o test_sym.wasm
6 # RUN: lldb-test object-file test.wasm | FileCheck %s
8 # This test checks that SymbolVendorWasm correctly loads DWARF debug sections
9 # that have been stripped out into a separated Wasm module. The original Wasm
10 # module contains a "external_debug_info" custom section with the absolute or
11 # relative path of the debug module.
13 # CHECK: Plugin name: wasm
14 # CHECK: Architecture: wasm32-unknown-unknown-wasm
16 # CHECK: Executable: false
17 # CHECK: Stripped: true
18 # CHECK: Type: shared library
20 # CHECK: Base VM address: 0x0
24 # CHECK: VM address: 0x0
26 # CHECK: File size: 56
28 # CHECK: Name: .debug_info
29 # CHECK: Type: dwarf-info
30 # CHECK: VM address: 0x0
34 # CHECK: Name: .debug_abbrev
35 # CHECK: Type: dwarf-abbrev
36 # CHECK: VM address: 0x0
40 # CHECK: Name: .debug_line
41 # CHECK: Type: dwarf-line
42 # CHECK: VM address: 0x0
46 # CHECK: Name: .debug_str
47 # CHECK: Type: dwarf-str
48 # CHECK: VM address: 0x0
62 Body: 238080808000210141102102200120026B21032003200036020C200328020C2104200328020C2105200420056C210620060F0B
64 Name: external_debug_info
65 Payload: 0D746573745F73796D2E7761736D # test_sym.wasm